03-06-2024 01:13 PM
Hi. I'm having trouble with the compact switches (100 of them!) when I used the copy scp command and kept getting the undefined error message. I'm trying to download the image bin file from my Mac running OX Sonoma.
This is what I got:
SW#copy scp://172.16.99.117 flash:
Source username [xxxxxxxx]? aaaaaaaa
Source filename []? $(Mac Download directory)/c3560cx/c3560cx-12pd-s/c3560cx-universalk9-mz.152-7.E9.bin
Destination filename [c3560cx-universalk9-mz.152-7.E9.bin]?
%Error opening scp://*****@172.16.99.117//Users/thomas.heeb/Downloads/Cisco_IOS-NX/c3560cx/c3560cx-12pd-s/c3560cx-universalk9-mz.152-7.E9.bin (Undefined error)
Knowing that Apple came out with a newer version of SSH and pretty sure this isn't an issue, since I added the RSA key commands in the ssh_config file:
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
If it can't be fix, how about how do I bring back the tar file using archive command? Will it work? Thanks.
03-06-2024 02:21 PM
Can you check if you get any useful info by enabling debug logging with "debug scp all" and retrying the copy?
03-06-2024 02:58 PM
Is that what you have in mind?
Mar 6 20:37:27.922: %SSH-3-NO_MATCH: No matching kex algorithm found: client diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1 server sntrup761x25519-sha512@openssh.com,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
03-06-2024 02:59 PM
I was using "debug ip scp" command. Is that the same?
03-08-2024 04:55 AM
When you entered the source filename did you lead it with a slash? The MRL in the error shows two slashes after the IP when there should only be one.
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