一、
(1)打開終端,在shell菜單下找到:"新建遠程連接"。
(2)在"新建遠程連接"下,找到"安全文件傳輸(sftp)"。
?(3)新建新的IP,輸入用戶,點擊"連接",輸入密碼,進入sftp傳輸界面。
(4)
上傳mac本地文件至Linux服務器:put localfiledirectory remotefiledirectory
下載Linux服務器文件至mac本地:get remotefiledirectory localfiledirectory
二、使用scp命令
(1)使用ssh命令登錄Linux服務器。
(2)
上傳mac本地文件至Linux服務器:scp localfiledirectory username@ip:remotefiledirectory文章來源:http://www.zghlxwxcb.cn/news/detail-565544.html
下載Linux服務器文件至mac本地:scp username@ip:remotefiledirectory localfiledirectory文章來源地址http://www.zghlxwxcb.cn/news/detail-565544.html
到了這里,關(guān)于用mac終端給Linux服務器上傳、下載文件的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!