I should trasfer some files by xxx.xxx.xxx.xxx to local host.
In order to check the function works i tried to transfer a single file and I typed:
scp -P 21 username@xxx.xxx.xxx.xxx:/filename.nas /filename.nas
At this point i haven't response anch i have to type CTRL+C to return to console.
Can you help me?
aigles
2
Add the -v option to display debug informations
scp -v -P 21 username@xxx.xxx.xxx.xxx:/filename.nas /filename.nas
Jean-Pierre.
au3v3 # scp -v -P 21 username@xxx.xxx.xxx.xxx:/filename.nas /config.nas
Executing: program /usr/bin/ssh host xxx.xxx.xxx.xxx, user username, command scp -v -f /filename.nas
Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to xxx.xxx.xxx.xxx[xxx.xxx.xxx.xxx] port 21.
debug1: Connection established.
debug1: identity file /.ssh/identity type -1
debug1: identity file /.ssh/id_rsa type -1
debug1: identity file /.ssh/id_dsa type -1
debug1: ssh_exchange_identification: 220 MiniFTP Service Ready