· 7 years ago · Jan 23, 2018, 03:32 PM
1scp -v user@xxx.xxx.xxx.xxx :/local/file/path /destination/path
2
3debug1: rekey after 4294967296 blocks
4debug1: SSH2_MSG_NEWKEYS sent
5debug1: expecting SSH2_MSG_NEWKEYS
6debug1: SSH2_MSG_NEWKEYS received
7debug1: rekey after 4294967296 blocks
8debug1: SSH2_MSG_SERVICE_ACCEPT received
9debug1: Authentications that can continue: password
10debug1: Next authentication method: password
11admin@192.168.1.12's password:
12debug1: Authentication succeeded (password).
13Authenticated to 192.168.1.12 ([192.168.1.12]:22).
14debug1: channel 0: new [client-session]
15debug1: Entering interactive session.
16debug1: pledge: network
17debug1: Sending command: scp -v -f /home/random/sample.txt
18Sink: C0777 630 /home/random/sample.txt
19error: unexpected filename: /home/random/sample.txt