Hi All,
I use a WS_FTP client to connect to a SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.1 Cloud Server. Files are manually downloaded and uploaded to and from the server using the client.
Now, I have a task at hand to automate this process using JAVA for maintainability purposes. Following are the issues faced by me:
1. There is no help/support available from Server administrators.
2. No documentation available.
3. Totally new to the domain of FTP, SFTP etc.
4. All I have is a client which I use to download/upload files. [Connection log below: Establishing a connection]
-----------------------------------------------------------
DSS Signature Verified
Session Keys Created
Ciphers Created
New Client->Server ciphers in place.
New Client->Server ciphers in place.
Completed SSH Key Exchange. New Keys in place.
Trying authentication method: "password"
User Authenticated OK!
--------------------------------------------------------
Attached is the screen of client configuration.
I am able to export this "Trusted host" file as a public key file.
I need suggestions on which Open source API I can use and also how to establish this connection. I tried using "JSCH" API with having disabled "Stricthostkeychecking" which did not work for me and gave me "Algorithm negotiation failed" exception.
I want to replicate the connection in the same way as my WS_FTP client is connecting.
Thanks in advance....