安装ssh步骤:

    1、更新源列表:sudoapt-get update

    2、安装ssh: sudoapt-get install openssh-server

    3、查看ssh服务是否启动

      sudo ps -ef |grep ssh  --- 有sshd,说明ssh服务已经启动

      sudo service ssh start --启动

    4、使用gedit修改配置文件"/etc/ssh/sshd_config"

      sudo gedit /etc/ssh/sshd_config

      把配置文件中的"PermitRootLogin without-password"加一个"#"号,把它注释掉

      再增加一句"PermitRootLogin yes" 保存,修改成功。


配置静态ip:

1、虚拟网络编辑器

ubuntu安装ssh及配置静态ip

ubuntu安装ssh及配置静态ip

2、网络适配器设置(桥接模式)

ubuntu安装ssh及配置静态ip

3、最后一步在ubuntu中设置静态ip

ubuntu安装ssh及配置静态ip


相关文章:

  • 2022-02-05
  • 2021-06-27
  • 2022-02-05
  • 2021-07-28
  • 2021-11-25
  • 2021-04-14
  • 2021-08-20
  • 2022-02-07
猜你喜欢
  • 2021-09-13
  • 2021-05-21
  • 2022-12-23
  • 2021-08-08
  • 2021-08-28
  • 2021-07-15
  • 2021-09-11
相关资源
相似解决方案