- Here is the syntax that makes
scpsupport spaces (source):scp foo.com:"/home/fubar/some\ folder/file.txt" ./
- Copy a bunch of files to a remote server (or how to use
findwithscp):find /var/log/ -iname "*.log" -type f | xargs -i scp '{}' kevin@myserver:/media/backup/logs/ - Redirect local
8081port toproxy.company.com:8080via a SSH tunnel passing through theauthorized-server.company.commachine:ssh -T -N -C -L 8081:proxy.company.com:8080 kevin@authorized-server.company.com
- Use
rsyncover different SSH port (source):rsync --progress -vrae 'ssh -p 8022' /home/user/docs/ bill@server:/home/user/docs/
Pingback: All my command lines | Kevin Deldycke