delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/20/15:08:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <3F43C6F2.81AF4EA7@dessent.net>
Date: Wed, 20 Aug 2003 12:07:30 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
X-Accept-Language: en,en-US
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ssh does not find the config file?
References: <200308201548 DOT h7KFm3F14468 AT utah.>

Bursian Achim wrote:
> 
> Hi,
> I encounter strange things with ssh. I have a configfile under
> $HOME/.ssh:
> 
> -rw-------    1 BA3759       1.1k Aug 20 17:34 config
> -rw-------    1 BA3759        887 Aug 20 17:00 id_rsa
> 
> It contains lines like this:
> 
> host utah
>    User abu
>    IdentityFile   /home/.ssh/id_rsa
> 
> 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/.)

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.

Brian

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019