最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[已解决]mac中从ssh服务器下载文件

Mac crifan 3484浏览 0评论

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服务器下载文件

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
82 queries in 0.183 seconds, using 22.10MB memory