操作系统:Ubuntu Server 14.04 LTS
我只是犯了一个简单的错误,我甚至不知道我输入了什么,因为现在我无法跟踪命令历史记录。
我想我可能会使用 $chmod go+wx /tmp/tomcat7-tomcat7-tmp
问题集如下:
由于过去的操作导致的结果是......将文件系统更改为777:
现在我无法以 root 或普通用户身份登录。
有人能帮助我让我的服务器恢复正常吗?
这是我尝试使用 ssh 登录时的控制台输出
$ssh user@ip
output : ssh_exchange_identification: read: Connection reset by peer
我也尝试过这样做。
$ssh -v user@ip
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to ip [ip] port 22.
debug1: Connection established.
debug1: identity file /home/kiran/.ssh/id_rsa type 1
debug1: identity file /home/kiran/.ssh/id_rsa-cert type -1
debug1: identity file /home/kiran/.ssh/id_dsa type -1
debug1: identity file /home/kiran/.ssh/id_dsa-cert type -1
debug1: identity file /home/kiran/.ssh/id_ecdsa type -1
debug1: identity file /home/kiran/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/kiran/.ssh/id_ed25519 type -1
debug1: identity file /home/kiran/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8
ssh_exchange_identification: read: Connection reset by peer
感谢和问候。