ssh (open)

dsr at tao.merseine.nu dsr at tao.merseine.nu
Sat Nov 23 23:49:32 EST 2002


On Sat, Nov 23, 2002 at 10:56:42PM -0500, jbk wrote:
> I have enabled openssh and have created my dsa private and public keys 
> in $home/.ssh/ on my rh7.2server. I have also copied the public key to 
> authorized_keys2 in the same directory. I can login to my server now 
> from my msbox via cygwin using ssh. The following is an edited excerpt 
> of the login sequence.
> ##################
> bash<johndat>$ ssh -l johndoe bagend
> Could not create directory '/home/Johndoe/.ssh'.
> The authenticity of host 'bagend (10.251.227.4)' can't be established.
> RSA key fingerprint is c8:bc:fd:4f:18:f8:68:c5:c1:68:16:d6:c3:eb:cc:a1.
> Are you sure you want to continue connecting (yes/no)? yes
> Failed to add the host to the list of known hosts 
> (/home/Johndoe/.ssh/known_hosts).
> johndoe at bagend's password:
> Last login: Sat Nov 23 23:02:16 2002 from msbox
> bash: \e[3~:delete-char: command not found
> xhost:  unable to open display ""
> #######################
> What I would like to know is, is it possible to set up the login process 
> so I don't have to enter my password each time? My username is different 
> between machines.

Two different parts of the solution.

1. Different login names: specify the login name on the command line,
either with -l username or by using username at machine.tld nomenclature.

2. Keep authorizations around with keychain.
http://www.gentoo.org/proj/en/keychain.xml

-dsr-



More information about the Discuss mailing list