sshtools writes a different public key into known_hosts
Soumya <[email protected]>
| Newsgroups | gmane.comp.java.sshtools.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, When I connect to my secure server (for secure ftp) using the sshtools API I get the prompt - "Do you want to allow this host key? [Yes|No|Always]:" When I enter 'Always', the known_hosts file is created as expected, but the public key written in to it looks much different from the one I have appended to authorized_keys on my server. Why is this ? The problem I have with this behaviour is that, in order to avoid the prompt, I append the public key (I generated with sshtools key-gen) to known_hosts myself and it doesn't work. could anyone give a clue regarding this ? thanks in advance, Soumya. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642