WinSCP 连接 Debian系Linux配置

277 阅读1分钟

WinSCP 连接 Debian系Linux配置

  1. WinSCP下载:winscp.net/eng/index.p…

  2. 安装ssh服务:sudo apt-get install -y open-server

  3. 修改sshd_config文件:sudo vim /etc/ssh/sshd_config

    #添加
    PermitRootLogin yes
    #取消注释
    PasswordAuthentication yes
    PermitEmptyPasswords yes  (no该为yes)
    
  4. 开启ssh:service ssh start

  5. 配置root密码:sudo passwd root

  6. 在WinSCP中连接