User Ratings
Rate This Project
Login To Rate This Project
Featured Reviews
Highest Rated
It saves my time. highly recommended
Lowest Rated
I am facing problem with the J2ssh library in my application where it get hangs very often.
import com.sshtools.j2ssh.SshClient;
import com.sshtools.j2ssh.authentication.AuthenticationProtocolState;
import com.sshtools.j2ssh.authentication.PasswordAuthenticationClient;
import com.sshtools.j2ssh.session.SessionChannelClient;
ssh = new SshClient();
ssh.setSocketTimeout(10000);
ssh.connect(hostname, port); --->> It gets stuck at this point.
PasswordAuthenticationClient pwd = new PasswordAuthenticationClient();
pwd.setUsername(username);
pwd.setPassword(password);
result = ssh.authenticate(pwd);
I believe the setSocketTimeout is not throwing any exception.
Can anyone please provide me with a solution. Thanks
User Reviews
-
Unfortunately, author of the application have dropped updates...
-
excellent application.
-
Great job, thanks a lot for writing
-
Thank for your projects!
-
I am facing problem with the J2ssh library in my application where it get hangs very often. import com.sshtools.j2ssh.SshClient; import com.sshtools.j2ssh.authentication.AuthenticationProtocolState; import com.sshtools.j2ssh.authentication.PasswordAuthenticationClient; import com.sshtools.j2ssh.session.SessionChannelClient; ssh = new SshClient(); ssh.setSocketTimeout(10000); ssh.connect(hostname, port); --->> It gets stuck at this point. PasswordAuthenticationClient pwd = new PasswordAuthenticationClient(); pwd.setUsername(username); pwd.setPassword(password); result = ssh.authenticate(pwd); I believe the setSocketTimeout is not throwing any exception. Can anyone please provide me with a solution. Thanks