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