-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A long time ago, in a galaxy far, far way, someone said...
> Hi all, > I tried as man ssh saied to login with ssh without password as: > ssh-genkey as remote host > scp [EMAIL PROTECTED]:$HOME/.ssh/identity.pub $HOME/.ssh/authorized_keys > and tried ssh remote and was prompted with a password > What is wrong? Yout got it backwards. That should have been scp ~/.ssh/identity.pub [EMAIL PROTECTED]:~/.ssh/keyfile ssh remote cd .ssh cat keyfile >> authorized_keys Note that you need to log in to the remote server and manually add the public key to authorized_keys, otherwise you'll be replacing any authorized keys you might have set up. - -- - ---------------------------------------------------------------------- Phil Brutsche [EMAIL PROTECTED] GPG fingerprint: 9BF9 D84C 37D0 4FA7 1F2D 7E5E FD94 D264 50DE 1CFC GPG key id: 50DE1CFC GPG public key: http://tux.creighton.edu/~pbrutsch/gpg-public-key.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE5yQEl/ZTSZFDeHPwRAr3fAJ9bnHtVhhPET3vSqBbLOHPIsFeVTgCdF+PB ObFg3pPJEkZgm5/1o8v4En0= =OANy -----END PGP SIGNATURE-----