Ubuntu系统

1,安装ssh

sudo apt-get install openssh-server

2,启动ssh进程

/etc/init.d/ssh start

3,查看进程信息

ps -e | grep ssh

4, 修改SSH的配置文件/etc/ssh/sshd_config

vi /etc/ssh/sshd_config

修改后:

PermitRootLogin yes

5,关闭Ubuntu防火墙

查看防火墙状态

sudo ufw status

防火墙在系统启动时自动禁用

sudo ufw disable   

查看ip:

ifconfig

  

2,xshell连接

ssh XX@192.168.220.128

 

相关文章:

  • 2021-06-08
  • 2022-12-23
  • 2021-05-06
  • 2021-08-14
  • 2021-07-23
猜你喜欢
  • 2022-01-12
  • 2021-09-23
  • 2021-05-07
  • 2021-10-20
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案