通过ssh传输文件 :

scp -rp /path/filename username@remoteIP:/path