Mac/Win终端ssh连接Linux
我出现的问题:
在Mac中连接被拒绝
首先,在ubuntu中下载ssh
sudo apt-get install openssh-server
出现问题:
解决方法:
sudo apt-get install ssh
sudo apt-get install openssh-server
ps -e | grep ssh //查看ssh是否安装成功
安装成功会出现如下sshd:
在Mac终端touch 01.py 在ubuntu桌面会显示,在ubuntu的01.py中修改文件内容,在mac终端通过cat可以查看到文件内容。
windows系统我用的putty,首先在ubuntu中 ifconfig
将ip地址填写进host name中。
完成
还没有评论,来说两句吧...