1. 程式人生 > >scp檔案上傳

scp檔案上傳

scp -P port file_name [email protected]:/dir_name

實際:

scp -P 23245 /Users/zw/Documents/gitProjects/pulldata-service/classes/artifacts/upload_jar/pulldata-dataproviders.jar [email protected]:/home/dingshuai

-P 指定埠  

本地資料夾

遠端目錄