Hi Apache developers,
I have one issue. I want use proxy host and proxy port to connect to a
remote server.
without proxy I'm unable to connect to that server.
I want to sftp a file, without verifying host-key, and connect through a
custom proxy.
I have used three jars for this purpose.
1. sshd-core 2.3.0
2.sshd-commons 2.3.0
3. sshd-sftp 2.3.0
can you please help me out with this? I've attached my source file for
reference. and also attached the exceptions.
I've verified that hostname,username and password are correct.
Any help would be much appreciated.
Thanks.
org.apache.sshd.common.RuntimeSshException: Failed to get the session.
at
org.apache.sshd.client.future.DefaultConnectFuture.getSession(DefaultConnectFuture.java:59)
at sshd.sshd3.main(sshd3.java:57)
Caused by: java.io.IOException: The semaphore timeout period has expired.
at sun.nio.ch.Iocp.translateErrorToIOException(Iocp.java:309)
at sun.nio.ch.Iocp.access$700(Iocp.java:46)
at sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:399)
at java.lang.Thread.run(Thread.java:748)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]