cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4093
Views
0
Helpful
2
Replies

fail to sftp to Router/Switch for remote IOS/config upgrade

francisfox
Level 1
Level 1

I have ssh2 enabled on a cisco3750 & 7204 running IOS 12.2 & 12.4 respectively both with "ip scp server enable" configured, the idea being to sftp configs & IOS down to them. I can open a V2 ssh session to each device no problem. When I attempt to use an sftp client (Putty/SecureFX) to do the file transfer the router/switch appears to authenticate OK but then the session is disconnected. I have logging & ssh/scp debug enabled on each cisco box and attempt to open the sftp connection. In each case the authentication (using same credentials as for SSH2 session) is successful but then the connection just closes. Can anyone help?

2 Replies 2

Collin Clark
VIP Alumni
VIP Alumni

They don't make it real clear, but what you actually do is source from the router/switch. From the router/switch, you connect to a server that supports SCP and pull the IOS down or push the config to the server. You use the normal copy commands, but specify scp instead of tftp or ftp.

Hope that helps.

certainly does, many thanks & merry xmas