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
> 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 ap
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 mat
1C
> Sent: Tuesday, 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 Ayers
> wrote:
>
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 Ayers wrote:
>
> I'm trying to set up shortcuts in ~/.ssh/config, but it doesn't seem
> to work. I add:
>
> Host slate
&g
I'm trying to set up shortcuts in ~/.ssh/config, but it doesn't seem to
work. I add:
Host slate
Hostname quarry.slate-gravel.com
User fred
...but when I try to use it:
[SNIP]
host> ssh slate
ssh: Could not resolve hostname slate: no address associated w