mac ssh download file
linux – How to download a file from server using SSH? – Stack Overflow
licrifandeMacBook-Pro:guanzhi crifan$ scp [email protected]:guanzhi_latest.sql . The authenticity of host ‘xxx.xx.xx (xxx.xx.xx.xx)’ can’t be established. ECDSA key fingerprint is SHA256:KvvBceYh20kgnXUgaI1S0FPiORLXw9N+3I4Ea097+QM. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ‘xxx.xx.xxx,xxx.xx.xx’ (ECDSA) to the list of known hosts. [email protected]’s password: guanzhi_latest.sql 100% 148KB 147.8KB/s 00:00 licrifandeMacBook-Pro:guanzhi crifan$ pwd /Users/crifan/dev/tmp/guanzhi licrifandeMacBook-Pro:guanzhi crifan$ ls -hl total 296 -rw-r–r– 1 crifan staff 148K 1 21 15:59 guanzhi_latest.sql licrifandeMacBook-Pro:guanzhi crifan$ |
【总结】
windows中用scp即可去从服务器下载文件了。
转载请注明:在路上 » [已解决]mac中从ssh服务器下载文件