Re: ssh config

2009-08-18 Thread Jim Reisert AD1C
Check your /etc/passwd file It's possible that ~ isn't really your home directory - Jim On Tue, Aug 18, 2009 at 9:46 AM, Mike Ayersmike_ay...@tvworks.com wrote:        I'm trying to set up shortcuts in ~/.ssh/config, but it doesn't seem to work.  I add: Host slate    Hostname

RE: ssh config

2009-08-18 Thread Mike Ayers
, August 18, 2009 10:24 AM To: cygwin-xfree@cygwin.com Subject: Re: ssh config Check your /etc/passwd file It's possible that ~ isn't really your home directory - Jim On Tue, Aug 18, 2009 at 9:46 AM, Mike Ayersmike_ay...@tvworks.com wrote:        I'm trying to set up shortcuts

Re: ssh config

2009-08-18 Thread Larry Hall (Cygwin X)
On 8/18/2009 1:46 PM, Mike Ayers wrote: Well that was it, thanks, but why is ssh looking there? I thought it (and all other apps) used HOME on cygwin? Nope. But if you think about it, if $HOME doesn't equal ~ for Cygwin, something has gone awry. Given that as context, it really wouldn't

RE: ssh config

2009-08-18 Thread Mike Ayers
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Larry Hall (Cygwin X) Sent: Tuesday, August 18, 2009 3:10 PM On 8/18/2009 1:46 PM, Mike Ayers wrote: Well that was it, thanks, but why is ssh looking there? I thought it (and all other apps) used

Re: ssh config

2009-08-18 Thread Mark J. Reed
Let's clarify something here. ~ is always the same as $HOME. If you change $HOME - within bash - then ~ changes too: $ HOME=/bogus/directory $ echo ~ /bogus/directory HOME starts out set to whatever's in /etc/passwd, but you can change it. For that reason, security-conscious programs like ssh