1 Reply Latest reply on Nov 7, 2017 10:03 AM by rfraties

    SSH Disconnect Error: no more authentication methods available.

    rfraties

      I am getting this error and I don't know what the problem is. 

       

      SSH Disconnect Error: no more authentication methods available.

       

      We are using Serv-U on the back-end and FTP Voyager on the front end.

       

      Regular password based connections work fine.

       

      As soon as I create a private / public key and bind it to the user (on both sides), then the authentication will not work. 

       

      Here is the log.

       

      Perhaps I have to disable password authentication before public key authenication will work?

       

       

      STATUS>    Resolving host "abc.myspecialsite.com"...

      STATUS>    Connecting to "65.212.176.194" on port 22.

      STATUS>    Connected to 65.212.176.194:22 from 10.0.0.25:58052.

      STATUS>    Negotiating SSH2 session with server...

      STATUS>    Client Identification: SSH-2.0-FTP Voyager_16.2.0.328

      STATUS>    Server Identification: SSH-2.0-2.0

      STATUS>    Initializing key exchange process...

      STATUS>    Selected key exchange algorithm: diffie-hellman-group1-sha1

      STATUS>    Host Key Fingerprint: E4:DD:11:2E:82:34:AB:62:59:1C:C8:62:1D:4B:48:99

      STATUS>    Server --> Client: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

      STATUS>    Client --> Server: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

      STATUS>    Selected public key protocol: ssh-rsa

      STATUS>    Key exchange process successfully completed.

      COMMAND>    SSH_MSG_SERVICE_REQUEST: service: ssh-userauth

          SSH_MSG_SERVICE_ACCEPT: service accepted

      STATUS>    Querying server for supported authentication methods

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: none

          SSH_MSG_USERAUTH_FAILURE: partial: 0; available authentications: password, publickey

      STATUS>    Supported authentication methods: password, publickey

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: publickey

          SSH_MSG_USERAUTH_PK_OK: public key algorithm accepted

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: publickey

          SSH_MSG_USERAUTH_FAILURE: partial: 1; available authentications: password, publickey

      ERROR>    SSH Disconnect Error: no more authentication methods available.

      ERROR>    Unable to login.

      ERROR>    Connection attempt failed.  Retrying in 3 seconds...

      COMMAND>    SSH_MSG_DISCONNECT: reason code 14; description: SSH Disconnect Error: no more authentication methods available.

      ERROR>    The server has unexpectedly closed the connection.

      ERROR>    Connection attempt failed.  Retrying in 3 seconds...

      STATUS>    Retrying Connection (attempt 2)...

      STATUS>    Resolving host "abc.myspecialsite.com"...

      STATUS>    Connecting to "65.212.176.194" on port 22.

      STATUS>    Connected to 65.212.176.194:22 from 10.0.0.25:58054.

      STATUS>    Negotiating SSH2 session with server...

      STATUS>    Client Identification: SSH-2.0-FTP Voyager_16.2.0.328

      STATUS>    Server Identification: SSH-2.0-2.0

      STATUS>    Initializing key exchange process...

      STATUS>    Selected key exchange algorithm: diffie-hellman-group1-sha1

      STATUS>    Host Key Fingerprint: E4:DD:11:2E:82:34:AB:62:59:1C:C8:62:1D:4B:48:99

      STATUS>    Server --> Client: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

      STATUS>    Client --> Server: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

      STATUS>    Selected public key protocol: ssh-rsa

      STATUS>    Key exchange process successfully completed.

      COMMAND>    SSH_MSG_SERVICE_REQUEST: service: ssh-userauth

          SSH_MSG_SERVICE_ACCEPT: service accepted

      STATUS>    Querying server for supported authentication methods

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: none

          SSH_MSG_USERAUTH_FAILURE: partial: 0; available authentications: password, publickey

      STATUS>    Supported authentication methods: password, publickey

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: publickey

          SSH_MSG_USERAUTH_PK_OK: public key algorithm accepted

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: publickey

          SSH_MSG_USERAUTH_FAILURE: partial: 1; available authentications: password, publickey

      ERROR>    SSH Disconnect Error: no more authentication methods available.

      ERROR>    Unable to login.

      ERROR>    Connection attempt failed.  Retrying in 3 seconds...

      COMMAND>    SSH_MSG_DISCONNECT: reason code 14; description: SSH Disconnect Error: no more authentication methods available.

      ERROR>    The server has unexpectedly closed the connection.

      ERROR>    Connection attempt failed.  Retrying in 3 seconds...

      STATUS>    Retrying Connection (attempt 3)...

      STATUS>    Resolving host "abc.myspecialsite.com"...

      STATUS>    Connecting to "65.212.176.194" on port 22.

      STATUS>    Connected to 65.212.176.194:22 from 10.0.0.25:58056.

      STATUS>    Negotiating SSH2 session with server...

      STATUS>    Client Identification: SSH-2.0-FTP Voyager_16.2.0.328

      STATUS>    Server Identification: SSH-2.0-2.0

      STATUS>    Initializing key exchange process...

      STATUS>    Selected key exchange algorithm: diffie-hellman-group1-sha1

      STATUS>    Host Key Fingerprint: E4:DD:11:2E:82:34:AB:62:59:1C:C8:62:1D:4B:48:99

      STATUS>    Server --> Client: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

      STATUS>    Client --> Server: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

      STATUS>    Selected public key protocol: ssh-rsa

      STATUS>    Key exchange process successfully completed.

      COMMAND>    SSH_MSG_SERVICE_REQUEST: service: ssh-userauth

          SSH_MSG_SERVICE_ACCEPT: service accepted

      STATUS>    Querying server for supported authentication methods

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: none

          SSH_MSG_USERAUTH_FAILURE: partial: 0; available authentications: password, publickey

      STATUS>    Supported authentication methods: password, publickey

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: publickey

          SSH_MSG_USERAUTH_PK_OK: public key algorithm accepted

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: publickey

          SSH_MSG_USERAUTH_FAILURE: partial: 1; available authentications: password, publickey

      ERROR>    SSH Disconnect Error: no more authentication methods available.

      ERROR>    Unable to login.

      ERROR>    Connection attempt failed.  Retrying in 3 seconds...

      COMMAND>    SSH_MSG_DISCONNECT: reason code 14; description: SSH Disconnect Error: no more authentication methods available.

      ERROR>    The server has unexpectedly closed the connection.

      ERROR>    Connection attempt failed.  Retrying in 3 seconds...

      STATUS>    Retrying Connection (attempt 4)...

      STATUS>    Resolving host "abc.myspecialsite.com"...

      STATUS>    Connecting to "65.212.176.194" on port 22.

      STATUS>    Connected to 65.212.176.194:22 from 10.0.0.25:58058.

      STATUS>    Negotiating SSH2 session with server...

      STATUS>    Client Identification: SSH-2.0-FTP Voyager_16.2.0.328

      STATUS>    Server Identification: SSH-2.0-2.0

      STATUS>    Initializing key exchange process...

      STATUS>    Selected key exchange algorithm: diffie-hellman-group1-sha1

      STATUS>    Host Key Fingerprint: E4:DD:11:2E:82:34:AB:62:59:1C:C8:62:1D:4B:48:99

      STATUS>    Server --> Client: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

      STATUS>    Client --> Server: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

      STATUS>    Selected public key protocol: ssh-rsa

      STATUS>    Key exchange process successfully completed.

      COMMAND>    SSH_MSG_SERVICE_REQUEST: service: ssh-userauth

          SSH_MSG_SERVICE_ACCEPT: service accepted

      STATUS>    Querying server for supported authentication methods

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: none

          SSH_MSG_USERAUTH_FAILURE: partial: 0; available authentications: password, publickey

      STATUS>    Supported authentication methods: password, publickey

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: publickey

          SSH_MSG_USERAUTH_PK_OK: public key algorithm accepted

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: publickey

          SSH_MSG_USERAUTH_FAILURE: partial: 1; available authentications: password, publickey

      ERROR>    SSH Disconnect Error: no more authentication methods available.

      ERROR>    Unable to login.

      ERROR>    Connection attempt failed.  Retrying in 3 seconds...

      COMMAND>    SSH_MSG_DISCONNECT: reason code 14; description: SSH Disconnect Error: no more authentication methods available.

      ERROR>    The server has unexpectedly closed the connection.

      ERROR>    Connection attempt failed.  Retrying in 3 seconds...

      STATUS>    Retrying Connection (attempt 5)...

      STATUS>    Resolving host "abc.myspecialsite.com"...

      STATUS>    Connecting to "65.212.176.194" on port 22.

      STATUS>    Connected to 65.212.176.194:22 from 10.0.0.25:58060.

      STATUS>    Negotiating SSH2 session with server...

      STATUS>    Client Identification: SSH-2.0-FTP Voyager_16.2.0.328

      STATUS>    Server Identification: SSH-2.0-2.0

      STATUS>    Initializing key exchange process...

      STATUS>    Selected key exchange algorithm: diffie-hellman-group1-sha1

      STATUS>    Host Key Fingerprint: E4:DD:11:2E:82:34:AB:62:59:1C:C8:62:1D:4B:48:99

      STATUS>    Server --> Client: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

      STATUS>    Client --> Server: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

      STATUS>    Selected public key protocol: ssh-rsa

      STATUS>    Key exchange process successfully completed.

      COMMAND>    SSH_MSG_SERVICE_REQUEST: service: ssh-userauth

          SSH_MSG_SERVICE_ACCEPT: service accepted

      STATUS>    Querying server for supported authentication methods

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: none

          SSH_MSG_USERAUTH_FAILURE: partial: 0; available authentications: password, publickey

      STATUS>    Supported authentication methods: password, publickey

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: publickey

          SSH_MSG_USERAUTH_PK_OK: public key algorithm accepted

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: publickey

          SSH_MSG_USERAUTH_FAILURE: partial: 1; available authentications: password, publickey

      ERROR>    SSH Disconnect Error: no more authentication methods available.

      ERROR>    Unable to login.

      ERROR>    Connection attempt failed.  Retrying in 3 seconds...

      COMMAND>    SSH_MSG_DISCONNECT: reason code 14; description: SSH Disconnect Error: no more authentication methods available.

      ERROR>    The server has unexpectedly closed the connection.

      ERROR>    Connection attempt failed.  Retrying in 3 seconds...

      STATUS>    Retrying Connection (attempt 6)...

      STATUS>    Resolving host "abc.myspecialsite.com"...

      STATUS>    Connecting to "65.212.176.194" on port 22.

      STATUS>    Connected to 65.212.176.194:22 from 10.0.0.25:58061.

      STATUS>    Negotiating SSH2 session with server...

      STATUS>    Client Identification: SSH-2.0-FTP Voyager_16.2.0.328

      STATUS>    Server Identification: SSH-2.0-2.0

      STATUS>    Initializing key exchange process...

      STATUS>    Selected key exchange algorithm: diffie-hellman-group1-sha1

      STATUS>    Host Key Fingerprint: E4:DD:11:2E:82:34:AB:62:59:1C:C8:62:1D:4B:48:99

      STATUS>    Server --> Client: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

      STATUS>    Client --> Server: Encryption: aes128-cbc, MAC: hmac-sha1, Compression: zlib

      STATUS>    Selected public key protocol: ssh-rsa

      STATUS>    Key exchange process successfully completed.

      COMMAND>    SSH_MSG_SERVICE_REQUEST: service: ssh-userauth

          SSH_MSG_SERVICE_ACCEPT: service accepted

      STATUS>    Querying server for supported authentication methods

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: none

          SSH_MSG_USERAUTH_FAILURE: partial: 0; available authentications: password, publickey

      STATUS>    Supported authentication methods: password, publickey

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: publickey

          SSH_MSG_USERAUTH_PK_OK: public key algorithm accepted

      COMMAND>    SSH_MSG_USERAUTH_REQUEST: user: abc.myspecialsite.com|bear-user; service: ssh-connection; type: publickey

          SSH_MSG_USERAUTH_FAILURE: partial: 1; available authentications: password, publickey

      ERROR>    SSH Disconnect Error: no more authentication methods available.

      ERROR>    Unable to login.

      ERROR>    Connection attempt failed.  Retrying in 3 seconds...

      COMMAND>    SSH_MSG_DISCONNECT: reason code 14; description: SSH Disconnect Error: no more authentication methods available.

      ERROR>    The server has unexpectedly closed the connection.

      ERROR>    Connection attempt failed.  Retrying in 3 seconds...

      STATUS>    Retrying Connection (attempt 7)...

      STATUS>    Resolving host "abc.myspecialsite.com"...

      STATUS>    Connecting to "65.212.176.194" on port 22.

      STATUS>    Connected to 65.212.176.194:22 from 10.0.0.25:58064.

      STATUS>    Negotiating SSH2 session with server...

      STATUS>    Client Identification: SSH-2.0-FTP Voyager_16.2.0.328

      ERROR>    The server has unexpectedly closed the connection.

      ERROR>    Could not establish a connection to MFT-AIM.