[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lftp: can no longer connect with sftp (no matching host key type found)



Control: reassign -1 openssh-client 1:7.1p1-1
Control: severity -1 normal
Control: retitle -1 openssh-client: ssh complains on host key type even when host key checking is disabled

On 2015-12-06 16:48:35 +0100, Vincent Lefevre wrote:
> Package: lftp
> Version: 4.6.3a-1+b1
> Severity: grave
> Justification: renders package unusable
> 
> After a system upgrade, lftp can no longer connect with sftp.
> When I type "dir", I get the error:
> 
> `ls' at 0 [Unable to negotiate with 192.168.1.4: no matching host key type found. Their offer: ssh-dss]
> 
> 4 days ago, I had no problems.

The problem actually comes from openssh-client (on which lftp has
no dependencies!).

First, the error is surprising because I was just using an IP address,
for which host key checking doesn't make much sense. But even if I set
both CheckHostIP and StrictHostKeyChecking to "no", I get the error!

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: