How do I get user public key authentication to work with SSH2?
From the FAQ in the 2.2 distribution (I’ll add more to this later): In remote_host (this is the host where you want to connect to): Add the following line to file ~/.ssh2/authorization: key id_dsa_1024_a.pub #or whatever is your pub keys name In local_host (this is the host you want to connect from): Add the following line to ~/.ssh2/identification: idkey id_dsa_1024_a #or whatever is your private keys name You have to create your keypair in local_host, and transfer the .pub-part to remote_host to your $HOME/.ssh2/ there. Generate the keys using ssh-keygen (see ‘man ssh-keygen’ for details).