VanDyke Software Forums

VanDyke Software Forums (
-   General (
-   -   Recv : Userauth_failure (

bjaegs 01-26-2021 07:33 AM

Recv : Userauth_failure
I am running SecureFX 8.5 currently. I am able to ssh into the Cisco switch in question but unable to connect via SecureFX. I have glossed over previous posts about session and global settings to tweak and I am still having issues. SCP is configured correctly on the Cisco switch.

i RECV: SERVICE_ACCEPT[ssh-userauth] -- OK
i Authenticating as user xxxx
i RECV : USERAUTH_FAILURE, continuations [publickey,keyboard-interactive,password]

bgagnon 01-26-2021 08:06 AM

Hi bjaegs,

We will need to see the entire log. What you have posted does not show any error. It is a normal part of the SSH/SFTP process. The client sends an authentication request of None:


And then the remote responds with the authentication methods it supports. (Those are the methods listed in the brackets.)

i RECV : USERAUTH_FAILURE, continuations [publickey,keyboard-interactive,password]

You can configure logging to a file in the File Transfer / Options / Advanced category of SecureFX's Global Options.

If you don't wish to post it in the public forums, please send to and reference Attn Brenda - Forum Thread #14403 in the subject line.

bgagnon 03-10-2021 11:11 AM

Hi all,

Update: This issue was caused by SFTP protocol being configured. Many Cisco devices do not support SFTP and require SCP instead. The giveaway in the log is if you see the connection retry 10 seconds after the line where the server has sent AUTH_SUCCESS:

2021-01-27 14:15:39, 00006: RECV : AUTH_SUCCESS
2021-01-27 14:15:49, 00006: SSH2Core version
2021-01-27 14:15:49, 00006: Connecting to [server]:22

The file transfer protocol is configured in the Connection category of SecureFX's Session Options. The snippets below show what the log should look like for a successful connection with the correct protocol.

i SEND[0]: SSH_MSG_CHANNEL_OPEN('session')
i SEND[0]: exec request: cd "." && pwd

i RECV : Server Sftp Version: <SFTP Version Number Here>
i VENDOR-NAME: <Server Info Here>

All times are GMT -6. The time now is 06:20 PM.