![安装 xfce 后无法连接 SSH](https://linux22.com/image/591751/%E5%AE%89%E8%A3%85%20xfce%20%E5%90%8E%E6%97%A0%E6%B3%95%E8%BF%9E%E6%8E%A5%20SSH.png)
我在 Debian 上有一个服务器 (VDS)。我最近通过 SSH 安装了 xfce (apt-get install xfce4),之后我就无法再通过 SSH 登录了。
这是我的 ssh 客户端输出:
dmitry@dimitrios:~$ ssh -vl root 78.47.129.251
OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 78.47.129.251 [78.47.129.251] port 22.
debug1: Connection established.
debug1: identity file /home/dmitry/.ssh/id_rsa type -1
debug1: identity file /home/dmitry/.ssh/id_rsa-cert type -1
debug1: identity file /home/dmitry/.ssh/id_dsa type -1
debug1: identity file /home/dmitry/.ssh/id_dsa-cert type -1
debug1: identity file /home/dmitry/.ssh/id_ecdsa type -1
debug1: identity file /home/dmitry/.ssh/id_ecdsa-cert type -1
ssh_exchange_identification: Connection closed by remote host
有任何想法吗?
答案1
我希望您仍然可以通过直接连接的显示器和键盘访问服务器。检查 sshd_conf 是否已更改。如果不是这个原因,请检查“应用程序”=>“设置”=>“Xfec4 设置”=>“会话和启动”中的 xfce 设置。