[Cyberduck-trac] [Cyberduck] #6361: "Unknown host key" warning even though "Always" is chosen
Cyberduck
trac at trac.cyberduck.ch
Tue Apr 3 12:20:44 CEST 2012
#6361: "Unknown host key" warning even though "Always" is chosen
---------------------------+-------------------------
Reporter: cyperpopyber | Owner: dkocher
Type: defect | Status: reopened
Priority: high | Milestone:
Component: sftp | Version: 4.2.1
Severity: normal | Resolution:
Keywords: | Architecture: Intel
Platform: Mac OS X 10.7 |
---------------------------+-------------------------
Changes (by Daps0l):
* cc: Daps0l (added)
* status: closed => reopened
* version: 4.1.3 => 4.2.1
* resolution: worksforme =>
Comment:
Hello, i have exactly the same problem;
The problem seems to occur when the SSH server is running on a non-default
port. For example my SSH server is running on port 11111 instead of 22.
Steps to reproduce:
* Delete ~/.ssh/known_hosts
* Connect to mypc.homeip.net:11111
* Unknown host key -> check 'always' -> allow
* 1 line added to ~/.ssh/known_hosts
* Disconnect
* Connect to mypc.homeip.net:11111
* Unknown host key -> check 'always' -> allow
* 1 line added to ~/.ssh/known_hosts (total = 2 lines now)
* Disconnect
This continues forever, always adding another new line to the known_hosts.
So my guess is the problem probably has got something to do with the
hashing of:
{{{ [mypc.homeip.net]:11111 ssh-rsa <hostkey> }}}
for hosts with non default ports, versus:
{{{ mypc.homeip.net ssh-rsa <hostkey> }}}
for default ports.
--
Ticket URL: <http://trac.cyberduck.ch/ticket/6361#comment:7>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.
More information about the Cyberduck-trac
mailing list