目标:通过ssh 实现局域网 登陆 

ip addr 查看ip地址 

 

开始通过 putty 直接登陆 debian  ,输入ip  地址,登陆失败, 查找原因可能是由于远程主机并未开通 ssh 登陆权限 ,下一步配置权限 

https://blog.csdn.net/opabinia/article/details/81901790

命令如下

vi /etc/ssh/sshd_config

PermitRootLogin yes
还是失败

然后通过 安装 ssh

deepin安装ssh服务

apt-get install openssh-server

vi /etc/ssh/sshd_config

AllowUsers realjt(自己的用户名)

systemctl restart sshd

然后可以登陆了

解决过程:了解ssh 登陆 过程 

 

相关文章:

  • 2022-01-19
  • 2022-12-23
  • 2021-04-15
  • 2021-12-15
  • 2021-11-28
  • 2021-06-28
  • 2022-01-09
  • 2021-07-18
猜你喜欢
  • 2021-05-25
  • 2021-12-07
  • 2021-08-04
  • 2021-03-30
  • 2021-11-13
相关资源
相似解决方案