美文网首页
ssh连接Win10子系统Linux配置

ssh连接Win10子系统Linux配置

作者: 令狐达耶 | 来源:发表于2019-09-26 15:40 被阅读0次

    查看是否开启SSH服务

    ps -ef | grep ssh
    

    安装SSH服务

    apt-get remove openssh-server
    apt-get install openssh-server
    

    修改配置端口为22,开启允许密码登录

    vim /etc/ssh/sshd_config
    Port 22
    PasswordAuthentication yes
    

    重启服务

    service ssh --full-restart
    

    相关文章

      网友评论

          本文标题:ssh连接Win10子系统Linux配置

          本文链接:https://www.haomeiwen.com/subject/abpgyctx.html