10-05-2020 09:19 AM
Attempting to move a gzip file from my Nexus 7710 to a Linux machine on my network...
#copy bootflash:File.txt.gz scp:
Enter vrf (If no input, current vrf 'default' is considered):
Enter hostname for the scp server: 192.168.0.1
Enter username: user
no matching mac found: client hmac-sha1,hmac-sha1-96 server hmac-sha2-256, hmac-sha2-512
lost connection
#copy bootflash:File.txt.gz scp:
Enter vrf (If no input, current vrf 'default' is considered):
Enter hostname for the scp server: 192.168.0.1
Enter username: /user
cp: cannot create regular file `/user@192.168.0.1:File.txt.gz': Permission denied
#copy bootflash:File.txt.gz scp:
Enter vrf (If no input, current vrf 'default' is considered):
Enter hostname for the scp server: //192.168.0.1
Enter username: user
cp: cannot create regular file `user@//192.168.0.1:File.txt.gz': No such file or directory
None of these variations have given a successful result.
10-05-2020 09:25 AM - edited 10-05-2020 09:26 AM
First check do you have that in file bootflash: by issue dir command
try below syntax
copy bootflash:File.txt.gz scp://username:password@x.x.x.x/ <<- this will copy to user folder
10-05-2020 09:31 AM
dir command helped me confirm the file is in bootflash. Your syntax resulted in the error from scenario 1...
Enter vrf (If no input, current vrf 'default' is considered):
no matching mac found: client hmac-sha1,hmac-sha1-96 server hmac-sha2-256, hmac-sha2-512
lost connection
I typed the Enter key at the vrf line without giving any input. Is that a problem?
10-05-2020 10:00 AM
can you able to ping SCP Server with out input any VRF, then default VRF should be ok.
can you show us the results of ping x.x.x.x post here.
what kind of SCP server on far end ?
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