[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh



On 2/28/07, Roberto C. Sanchez <roberto@connexer.com> wrote:
On Wed, Feb 28, 2007 at 07:58:20AM -0400, Guillermo Garron wrote:
>
> but the problem was that when you execute the command,
> ssh-keygen -t rsa, you need to leave the passphrase empty, or it will
> not work, please try again, I have just tried on two PCs i have with
> the same root/pass user/pass combinations on both and worked.
>
Maybe I missed something, but are you talking about generating host keys
or user keys?

Regards,

-Roberto
--
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFF5Y/I1snWssAFC08RAm4aAJ9CHnJRVXpb5pfUfJ5vjT7aE4qE5ACfehF1
V3Wejten44Wmry5uvQN5qiY=
=uAaT
-----END PGP SIGNATURE-----


Hi!
Usually I do not change anything in ssh configuration.  All I do is this:

On source machine:

user1@host1:~$ ssh-keygen -t dsa
<use empty passphrase>

user1@host1:~$ cat ~/.ssh/id_dsa.pub

On destination machine:
user2@host2:~$ vi ~/.ssh/authorized_keys
<paste the content of user1@host1's id_dsa.pub and save the file>

Now you should be able to do:
user1@host1:~$ ssh user2@host2

without needing to type any password.

Hope this helps.

Cheers



Reply to: