cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
325
Views
0
Helpful
3
Replies

Copy SFTP FLASH not sending username

Mike Pagano
Level 1
Level 1

Having same issue with multiple platforms C9300, C2960, C3650.

Using copy sftp: flash: the username is not sending to the SFTP server.

Yes, SFTP server is configured with username and password. 

ACH-Playground-SW1#copy sftp: flash:
Address or name of remote host []? 10.137.154.10
Source username [testuser]?
Source filename []? drtagg1.txt
Destination filename [drtagg1.txt]?
%Error opening sftp://*****@10.137.154.10/drtagg1.txt (Undefined error)
ACH-Playground-SW1#

SFTP Server logs show blank for username?

2025-04-22 15:13:50,184 [7] DEBUG SolarWinds.Sftp.Service.Listener - sshd_StateChanged User:, newstate:Connecting, oldstate:Disconnected
2025-04-22 15:13:50,188 [7] DEBUG SolarWinds.Sftp.Service.Listener - sshd_StateChanged User:, newstate:Negotiating, oldstate:Connecting

Works fine on other platforms.

2025-04-22 15:06:56,554 [7] DEBUG SolarWinds.Sftp.Service.Listener - sshd_StateChanged User:testuser, newstate:Receiving, oldstate:Sending
2025-04-22 15:06:56,556 [7] DEBUG SolarWinds.Sftp.Service.Listener - sshd_StateChanged User:testuser, newstate:Disconnected, oldstate:Receiving

3 Replies 3

marce1000
Hall of Fame
Hall of Fame

 

  - For the 9300 have a look at https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/17-14/configuration_guide/sec/b_1714_sec_9300_cg/configuring_sftp.html
    and compare that with your procedures ; also if it still not works , upgrade to the latest advisory software version and try again,

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Mike Pagano
Level 1
Level 1

Added ip ssh source as recommended logs now showing crypto key issue.

Apr 23 09:17:00 EST: %SSH-3-NO_MATCH: No matching kex algorithm found: client diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1 server curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,kex-strict-s-v00@openssh.com
Apr 23 13:17:00.584: SFTP read_process: read failed 22
Apr 23 13:17:00.584: SFTP ifs_open Read: Network error (3)
Apr 23 13:17:00.584: SFTP ifs_close: Read Operation
ACH-Playground-SW1#

 

     - @Mike Pagano   That means that the switch can not match a supported cipher, offered by the Solarwinds sftp server.
                                  To examine the cipher list offered by the Solarwinds sftp server issue the command :
                                  % nmap --script ssh2-enum-algos <solarwinds-host>

   M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '