04-04-2022 04:59 PM
Hello
I am trying to download a copy of the NX-OS firmware from a Virtual Machine to the Nexus 9K from the Nexus. Not sure why the SSH connection times out.
What I did was:
1. Turn on scp-server feature on Nexus
2. On the VM machine the file is in a folder in the C: drive labeled NexusFirmware
3. TH-SW-02-N93180-B# ping 172.16.65.5 vrf management
PING 172.16.65.5 (172.16.65.5): 56 data bytes
64 bytes from 172.16.65.5: icmp_seq=0 ttl=126 time=1.26 ms
64 bytes from 172.16.65.5: icmp_seq=1 ttl=126 time=0.787 ms
64 bytes from 172.16.65.5: icmp_seq=2 ttl=126 time=0.692 ms
64 bytes from 172.16.65.5: icmp_seq=3 ttl=126 time=0.746 ms
64 bytes from 172.16.65.5: icmp_seq=4 ttl=126 time=0.838 ms
TH-SW-02-N93180-B#
TH-SW-02-N93180-B# copy scp://coadmin@172.16.65.5/NexusFirmware/nxos.9.3.8.img bootflash:
Enter vrf (If no input, current vrf 'default' is considered): management
ssh: connect to host 172.16.65.5 port 22: Connection timed out
TH-SW-02-N93180-B#
Appreciate the assistance.
Solved! Go to Solution.
04-04-2022 05:58 PM
Yeah, I think it is easier to use ftp or tftp. You can install Tftpd64, works just fine in windows.
04-04-2022 05:48 PM
Is that virtual machine a windows machine? Windows does not accept SSH natively.
04-04-2022 05:53 PM
Correct, it is a windows machine.
Would I need to configure something on the windows machine, or use a different protocol on the Nexus device?
04-04-2022 05:58 PM
Yeah, I think it is easier to use ftp or tftp. You can install Tftpd64, works just fine in windows.
04-04-2022 06:10 PM
Much appreciated Flavio!
04-04-2022 06:16 PM
ssh: connect to host 172.16.65.5 port 22: Connection timed out
Are you sure far end SCP running.
Try using VRF management - ssh coadmin@172.16.65.5
is that works ?
04-05-2022 12:31 PM
OPENssh is not installed on the VM PC, I will use the TFTpd64 server.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide