Wednesday, April 20, 2016

SCP to remote host on quiet mode

Like ssh -q, scp -q doesn't work on quiet mode to transfer files between two hosts
To make it work,
On your source host, have the following configuration,

$ cat  ~/.ssh/config
Host remote_host
hostname 192.168.10.20
user=sam
IdentityFile ~/.ssh/id_rsa.pub
LogLevel=QUIET
or

$ scp -q -o  LogLevel=QUIET myfile.testing remote_server:/var/tmp
-q only works with ssh client connection

No comments:

Post a Comment