Re: known_hosts file

From: Eduardo Tongson (propolice_at_gmail.com)
Date: 09/29/05

  • Next message: Otis Horton: "RE: Permit to use OpenSSH in France"
    Date: Thu, 29 Sep 2005 16:32:36 +0000
    To: secureshell@securityfocus.com
    
    

    > Had an interesting problem recently, 3rd hand support of someone who had
    > problems and asked me for help, so I don't really know how they got
    > themselves into this situation (disclaimer), but nonetheless, I was
    > intrigued.
    >
    > ssh failed with "host key verification failed"
    >
    > no known_hosts file was present in ~<user>/.ssh
    >
    > we're not using /usr/local/etc/ssh_known_hosts, so the
    > ~<user>/.ssh/known_hosts should exist
    >
    > I used a copy of the known_hosts file from another server, and problem
    > solved.
    >
    > I guess my question is, why was there no known_hosts file, and why wasn't it
    > trying to create one for him automatically i.e
    >
    > The authenticity of host 'xxx (xx.xx.xx.xx)' can't be established.
    > RSA key fingerprint is
    > xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
    > Are you sure you want to continue connecting (yes/no)?
    >
    > Try as I could I couldn't get SSH to seem to realise that the known_hosts
    > file needed creating.
    > Anybody seen this before and what did you do about it ?
    >

    StrictHostKeyChecking in ssh_config set to yes?
    That's the only obvious reason I can think of

    --ed


  • Next message: Otis Horton: "RE: Permit to use OpenSSH in France"