中国房地产网站,北京建设网站圣辉友联,网站备案要几天,优化营商环境指什么1.更新资料列表
sudo apt-get update2.安装openssh-server
sudo apt-get install openssh-server3.查看ssh服务是否启动
sudo ps -e | grep ssh4.如果没有启动#xff0c;启动ssh服务
sudo service ssh start5.查看IP地址
sudo ifconfig如果出现xshell无法输入密码的情况…1.更新资料列表
sudo apt-get update2.安装openssh-server
sudo apt-get install openssh-server3.查看ssh服务是否启动
sudo ps -e | grep ssh4.如果没有启动启动ssh服务
sudo service ssh start5.查看IP地址
sudo ifconfig如果出现xshell无法输入密码的情况
打开sshd_config
vi /etc/ssh/sshd_config将 PasswordAuthentication 的值由 no 改为 yes
PasswordAuthentication yes然后重启ssh sudo service ssh restart