This is the mail archive of the
cygwin
mailing list for the Cygwin project.
SSH looking for identity file in /.ssh
- From: _w_ <just_a_w at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 21 Feb 2012 08:53:40 -0800 (PST)
- Subject: SSH looking for identity file in /.ssh
I just installed Cygwin 1.7.10 and created keys in ~/.ssh. When I ssh to
another server, it looks for identity files in /.ssh rather than ~/.ssh.
I checked /etc/ssh_config and everything is commented out (as it was in my
old Cygwin installation). I tried adding "IdentityFile ~/.ssh/id_rsa" but
that didn't help, it kept looking in /.ssh.
Specifying the location of the identity file on the command line (ssh xxx -i
~/.ssh/id_rsa) works, as does hard coding in /etc/ssh_config the path to my
identity file (IdentityFile /home/xxx/.ssh/id_rsa).
Any idea why it's looking in /.ssh rather than ~/.ssh?
$ ssh -v xxx
OpenSSH_5.9p1, OpenSSL 0.9.8s 4 Jan 2012
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to xxx [xxx.xxx.xxx.xxx] port 22.
debug1: Connection established.
debug1: identity file /.ssh/id_rsa type -1
debug1: identity file /.ssh/id_rsa-cert type -1
debug1: identity file /.ssh/id_dsa type -1
debug1: identity file /.ssh/id_dsa-cert type -1
debug1: identity file /.ssh/id_ecdsa type -1
.
.
.
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /.ssh/id_rsa
debug1: Trying private key: /.ssh/id_dsa
debug1: Trying private key: /.ssh/id_ecdsa
Thanks.
--
View this message in context: http://old.nabble.com/SSH-looking-for-identity-file-in--.ssh-tp33365245p33365245.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple