scp 傳輸檔案

要將檔案安全地傳輸到另一臺計算機,請鍵入:

scp file1.txt tom@server2:$HOME

此示例顯示將 file1.txt 從我們的主機傳輸到 server2 的使用者 tom 的主目錄。