ssh Permanently added

Eliot Moss moss@cs.umass.edu
Mon Oct 8 00:03:00 GMT 2012


On 10/7/2012 2:45 PM, Gyurmo wrote:
> Hello,
>
> I'd like to install ssh for win7-64x. I had got, but I afraid I left
> to do something for now installing. Please help me, what can I do for?
>
> [code]$ssh mine@localhost
> The authenticity of host 'localhost (::1)' can't be established.
> ECDSA key fingerprint is ************************************.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
> mine@localhost's password:
> Connection to localhost closed by remote host.
> Connection to localhost closed.[/code]
>
>
> [code]$ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
> mine@localhost
> Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
> mine@localhost's password:
> Connection to localhost closed by remote host.
> Connection to localhost closed.[/code]

It is normal behavior for ssh to cache, in a known-hosts-file,
the public ssh keys of hosts that you have said are ok.  This
has nothing to do with cygwin.  Any new host you ssh to will
induce the interchange you saw, and setting the known hosts
file to /dev/null will just make it ask every time.

It doesn't really know localhost from any other host in this
regard.

Hope this helps you understand what is happening and that it is
perfectly normal AFAIK.

Regards -- Eliot Moss

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list