Page 1 of 1

Cisco Switch 2960X SFTP Connection Error

Posted: 2024-03-05 07:25
by wood
Hi, when uploading files to our filezilla pro sftp server from cisco c2960x switches it fails on (downloading from sftp to the switch works fine)

"%Error writing sftp://*****@ip.address/switchname-confg (Transfer aborted)"

and the log corresponding to this is

2024-03-01T12:37:13.280Z << [SSH SFTP Session 79 ip.address username] User authenticated successfully [user=username]
2024-03-01T12:37:13.311Z !! [SSH SFTP Session 79 ip.address username] Shell or subsystem '<null>' is not supported.

where should we look for a problem?
our different model cisco switches have no issue downloading or uploading to the sftp server

thanks a lot

Re: Cisco Switch 2960X SFTP Connection Error

Posted: 2024-03-05 08:30
by botg
FileZilla Pro Enterprise Server only supports SSH's SFTP subsystem, it does not support any other subsystem or shell. Your client tries to open a shell.

Re: Cisco Switch 2960X SFTP Connection Error

Posted: 2024-03-05 11:03
by wood
How would downloading from sftp the other way work then?

Re: Cisco Switch 2960X SFTP Connection Error

Posted: 2024-03-05 11:04
by wood
How would downloading from sftp the other way work then?

switchname#copy sftp: flash:
Address or name of remote host []? ip.address
Source username [soitron]? username
Source filename []? test_file
Destination filename [test_file]?
Password:
!
23 bytes copied in 11.167 secs (2 bytes/sec)

Re: Cisco Switch 2960X SFTP Connection Error

Posted: 2024-03-05 12:11
by boco
SFTP is the file transfer subsystem and works much like FTP. If the Cisco device supports SFTP, it will simply work when connecting to an SFTP server running on port 22. You need to check its manual for exact configuration.