最新消息:20210917 已从crifan.com换到crifan.org

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

Mac crifan 2845浏览 0评论

mac ssh download file

linux – How to download a file from server using SSH? – Stack Overflow

licrifandeMacBook-Pro:guanzhi crifan$ scp useradmin@xxx.xxx.xx: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.
useradmin@xxx.xxx.xx’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,您需要填写昵称和邮箱!

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