以前在Windows上都是通过sftp,winscp之类的ssh客户端连接远程linux主机。
Mac下一只用的是iTerm2终端,查了一下,它也具备ssh客户端的功能。

  1. 通过iTerm2->Preferences->Profiles增加一个Profile

iTerm2连接远程主机

  1. iTerm2也支持和远程主机见传输文件

上传
scp local_file [email protected]:remote_file scp -r local_folder
[email protected]:remote_folder //-r表示递归

下载
scp [email protected]:remote_file local_file scp -r
[email protected]:remote_folder local_folder //-r表示递归

相关文章:

  • 2021-06-25
  • 2022-12-23
  • 2021-11-28
  • 2021-06-15
  • 2021-10-07
  • 2021-10-09
  • 2021-12-01
  • 2021-12-06
猜你喜欢
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
相关资源
相似解决方案