在折腾:
之后,去尝试使用iTerm2去连接远程服务器
先去下载:
iTerm2 – Mac OS Terminal Replacement
安装后,结果试了试,没有找到支持SSH2的
搜:
mac iterm2 ssh how to use
mac iterm2 如何使用SSH
Last login: Wed Sep 7 16:36:50 on ttys003 ➜ ~ ssh -p 22 useradmin@salesapp.qorosauto.com The authenticity of host ‘salesapp.qorosauto.com (42.159.201.137)’ can’t be established. ECDSA key fingerprint is SHA256:0PVQRsKp+tbdB0RHw3Fh3TLmm6EdjtODVdDj+Gz7AcQ. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ‘salesapp.qorosauto.com,42.159.201.137’ (ECDSA) to the list of known hosts. useradmin@salesapp.qorosauto.com’s password: Permission denied, please try again. useradmin@salesapp.qorosauto.com’s password: Last failed login: Wed Sep 7 08:46:56 UTC 2016 from 121.238.252.130 on ssh:notty There was 1 failed login attempt since the last successful login. Last login: Wed Sep 7 08:40:32 2016 from 121.238.252.130 [useradmin@AZAPPDL01 ~]$ ll 总用量 12 lrwxrwxrwx. 1 useradmin useradmin 21 8月 24 03:21 html -> /usr/share/nginx/html -rw-r–r–. 1 useradmin useradmin 1108 8月 15 00:57 manifest_fromBeal.plist -rw-rw-r–. 1 useradmin useradmin 4680 7月 15 2014 nginx-release-centos-7-0.el7.ngx.noarch.rpm [useradmin@AZAPPDL01 ~]$ |
[总结]
目前Mac中,免费的SSH客户端,iTerm2比较不错
1.安装
去主页:
iTerm2 – Mac OS Terminal Replacement
下载和安装。
2.打开终端后,输入:
ssh -p 端口号 用户名@主机名或IP地址 |
比如:
ssh -p 22 useradmin@salesapp.qorosauto.com |
然后接着输入yes
再输入对应的密码,即可登录远程主机
然后再去:
转载请注明:在路上 » [记录]在Mac中使用iTerm2通过SSH连接远程服务器