Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.

Retrieve SSH key

no avatar
User

gbw

Posts

36

Joined

Mon Oct 06, 2008 7:14 pm

Retrieve SSH key

by gbw » Fri Apr 17, 2009 2:46 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Retrieve SSH key

by support2 » Fri Apr 17, 2009 10:44 am

No, it isn't possible. And looking back at this method getKnownHosts() I really wonder what use it is and why we wrote it.

The good news is, I've added 2 new methods.

public String[] getKnownHostnames() // to get a list of the host names in known_hosts

public SSHFTPPublicKey[] getKnownHostKeys(String hostname) // to get the public keys stored for this hostname

It'll be released as part of 3.0.1 later today - email us if you want to try it out now (support at enterprisedt dot com).
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Retrieve SSH key

by support2 » Fri Apr 17, 2009 3:51 pm

Now released in 3.0.1

Who is online

Users browsing this forum: No registered users and 19 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign