Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <200308210746.h7L7kDF08118@utah.> Date: Thu, 21 Aug 2003 09:46:13 +0200 (MEST) From: Bursian Achim Reply-To: Bursian Achim Subject: Re: ssh does not find the config file? To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: IGyjdCjTB+9sCsNT0UZ4qQ== >> Using 'ssh utah' does not work, I get prompted for the password for >> BA3759 AT utah. But strange enough, 'ssh -F $HOME/.ssh/config utah' does >> work. $HOME/.ssh/config should be the default for the config file, but >> obviousely it isn't??? > >You shouldn't have to specify IdentityFile in the config, since >$HOME/.ssh/id_rsa is the default (and the path /home/.ssh you have above >probably doesn't exist, unless your home directory is really /home/.) Actually, it is /home, I mounted it that way because I'm the only user on the system. % echo $HOME /home % ls -l $HOME/.ssh total 10 -rw-r--r-- 1 BA3759 mkgroup_ 1787 Aug 21 09:34 authorized_keys -rw-r--r-- 1 BA3759 mkgroup_ 1152 Aug 21 09:38 config -rw------- 1 BA3759 mkgroup_ 887 Aug 20 17:00 id_rsa -rw-r--r-- 1 BA3759 mkgroup_ 218 Aug 21 09:34 id_rsa.pub -rw-r--r-- 1 BA3759 mkgroup_ 230 Aug 20 20:39 known_hosts -rw------- 1 BA3759 mkgroup_ 1024 Aug 21 09:34 prng_seed -rw------- 1 BA3759 mkgroup_ 512 Aug 21 09:34 random_seed And it only works with the IdentityFile line in the config. That's the same strange thing: It should default to $HOME/.ssh/id_rsa, but it does not. Just like the default $HOME/.ssh/config does not work. >Also, why don't you have a id_rsa.pub file? When you created the public >key you should have created a pair of keys, the public id_rsa.pub (which >you added to ~/.ssh/authorized_keys on the remote host, yes?) and the >private id_rsa. They are all there, this was no complete directory listing, just to show that the necessary files are present. Still stuck... -Achim -- 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/