@ysongzybl
2015-04-28T18:55:31.000000Z
字数 276
阅读 787
bash
linux
Use Uppercase P to specify port
Example:
scp -P user@ipaddress:/path/tofile ./
scp -P 1234 user@[ip address or host name]:/var/www/mywebsite/dumps/* /var/www/myNewPathOnCurrentLocalMachine
http://stackoverflow.com/questions/10341032/scp-with-port-number-specified