This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Need help with password-less ssh


>  
> jware@JWARE-PC ~/.ssh
> $ ssh-keygen -t rsa -f $HOME/.ssh/id_rsa
> Generating public/private rsa key pair.
> Enter passphrase (empty for no passphrase): 
> Enter same passphrase again: 
> Your identification has been saved in /home/jware/.ssh/id_rsa.
> Your public key has been saved in /home/jware/.ssh/id_rsa.pub.
> The key fingerprint is:
> <fingerprint remove>
>  

Because you are generating the newer 'id_rsa/id_rsa.pub' key-pair
instead of the older 'identity/identity.pub' key-pair, you need
to copy your 'id_rsa.pub' file to the newer '.ssh/authorized_keys2'
file, instead of the older '.ssh/authorized_keys'.

Also, check to make sure that on both the client and server computers
your '.ssh' directory is readable only by you (mode: 700), and that the
'authorized_keys2' file on the server computer is write-able only by
you (mode: 644).


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]