[Cyberduck-trac] [Cyberduck] #3013: known_hosts not read properly on startup/adding strange entries

Cyberduck trac at trac.cyberduck.ch
Sun Nov 8 22:04:47 CET 2009


#3013: known_hosts not read properly on startup/adding strange entries
-----------------------------+----------------------------------------------
 Reporter:  PeterNSteinmetz  |       Owner:  dkocher             
     Type:  defect           |      Status:  new                 
 Priority:  normal           |   Milestone:                      
Component:  sftp             |     Version:  3.1.2               
 Severity:  normal           |    Keywords:  known_hosts, ssh key
-----------------------------+----------------------------------------------
Description changed by dkocher:

Old description:

> Whenever I start Cyberduck, and have an SFTP connection as the one to
> open by default, Cyberduck prompts about allowing the host key. This
> despite the fact that the host key is in the known_hosts file.
>
> The console log contains a complaint:
>
> ERROR ch.cyberduck.ui.cocoa.CDHostKeyController - Cannot read
> /Users/peter/.ssh/known_hosts
>
> This is despite the fact that .ssh is world readable and executable and
> the known_hosts file is world readable.
>
> Additionally, Cyberduck then adds an entry to known_hosts starting with
> |1| and keeps adding this every time 'always allow' is chosen at the
> prompt.

New description:

 Whenever I start Cyberduck, and have an SFTP connection as the one to open
 by default, Cyberduck prompts about allowing the host key. This despite
 the fact that the host key is in the known_hosts file.

 The console log contains a complaint:


 {{{
 ERROR ch.cyberduck.ui.cocoa.CDHostKeyController - Cannot read
 /Users/peter/.ssh/known_hosts
 }}}


 This is despite the fact that .ssh is world readable and executable and
 the known_hosts file is world readable.

 Additionally, Cyberduck then adds an entry to known_hosts starting with
 |1| and keeps adding this every time 'always allow' is chosen at the
 prompt.

--

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/3013#comment:3>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV, Cloud Files and Amazon S3 Browser for Mac OS X.


More information about the Cyberduck-trac mailing list