hierynomus / hierynomus/sshj

Exhausted available authentication methods - version 0.21.1

Open
#546 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.7k
Forks
620
Avg merge
3d 23h
Merged PRs (30d)
11

Description

Hi,

Getting exception net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods while connecting to a RHEL 6.x box with MAC algorithms hmac-sha2-256 and hmac-sha2-512.

Able to connect through command line from the same box from where the java code is executing effectively ruling out issues with username/password or host keys.

Any help will be much appreciated. Thanks.

caused by class net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods
net.schmizz.sshj.SSHClient.auth(SSHClient.java:230)
net.schmizz.sshj.SSHClient.auth(SSHClient.java:205)
net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:291)
net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:261)
net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:245)
com.resolve.connect.SSHConnectSSHJ.authenticate(SSHConnectSSHJ.java:810)
com.resolve.connect.SSHConnectSSHJ.connect(SSHConnectSSHJ.java:507)
com.resolve.connect.SSHConnectSSHJ.(SSHConnectSSHJ.java:154)
com.resolve.connect.SSHConnectSSHJ.(SSHConnectSSHJ.java:132)
com.resolve.connect.SSHConnectSSHJ.(SSHConnectSSHJ.java:122)
com.resolve.connect.SSHConnectSSHJ.(SSHConnectSSHJ.java:102)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.