1.更新,
1.安装sshd
sudo apt-get install openssh-server
2.如果遇到Package has no installation candidate,则需要执行以下命令
sudo apt-get update
3.重新执行1命令,安装。
4.启动sshd服务
sudo /etc/init.d/sshd start
5.客户端连接
ssh username@ipaddress. 如ssh mylinux@192.168.1.1
1.更新,
1.安装sshd
sudo apt-get install openssh-server
2.如果遇到Package has no installation candidate,则需要执行以下命令
sudo apt-get update
3.重新执行1命令,安装。
4.启动sshd服务
sudo /etc/init.d/sshd start
5.客户端连接
ssh username@ipaddress. 如ssh mylinux@192.168.1.1