Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 01-26-2021, 07:33 AM
bjaegs bjaegs is offline
Registered User
 
Join Date: Jan 2021
Posts: 1
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.

SEND: SERVICE_REQUEST[ssh-userauth]
i RECV: SERVICE_ACCEPT[ssh-userauth] -- OK
i SENT : USERAUTH_REQUEST [none]
i Authenticating as user xxxx
i RECV : USERAUTH_FAILURE, continuations [publickey,keyboard-interactive,password]
Reply With Quote
  #2  
Old 01-26-2021, 08:06 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,582
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:

i SENT : USERAUTH_REQUEST [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 support@vandyke.com and reference Attn Brenda - Forum Thread #14403 in the subject line.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 03-10-2021, 11:11 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,582
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 8.5.0.1942
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.

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

SFTP:
i RECV : AUTH_SUCCESS
i RECV : Server Sftp Version: <SFTP Version Number Here>
i VENDOR-NAME: <Server Info Here>
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by bgagnon; 03-10-2021 at 11:16 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 01:52 PM.