cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1099
Views
0
Helpful
4
Replies

Cisco Compact Switches scp undefined error Mac

heeb
Level 1
Level 1

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.

4 Replies 4

Torbjørn
VIP
VIP

Can you check if you get any useful info by enabling debug logging with "debug scp all" and retrying the copy?

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

heeb
Level 1
Level 1

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

heeb
Level 1
Level 1

I was using "debug ip scp" command. Is that the same? 

RAdamWilliams
Level 1
Level 1

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.