1、在ubuntu系统执行更新
sudo apt-get update
2、安装openssh-sever以及openssh-client;ubuntu系统默认没有安装该协议
sudo apt-get install openssh-server openssh-client
3、检测是否安装成功
1)直接用xshell进行连接
2)用命令ps -e|grep ssh查看是否有ssh的进程出现
3)用命令netstat -antup 查看端口号22是否开启
1、在ubuntu系统执行更新
sudo apt-get update
2、安装openssh-sever以及openssh-client;ubuntu系统默认没有安装该协议
sudo apt-get install openssh-server openssh-client
3、检测是否安装成功
1)直接用xshell进行连接
2)用命令ps -e|grep ssh查看是否有ssh的进程出现
3)用命令netstat -antup 查看端口号22是否开启