![救命!运行“shutdown -h now”后服务器被锁定](https://linux22.com/image/895489/%E6%95%91%E5%91%BD%EF%BC%81%E8%BF%90%E8%A1%8C%E2%80%9Cshutdown%20-h%20now%E2%80%9D%E5%90%8E%E6%9C%8D%E5%8A%A1%E5%99%A8%E8%A2%AB%E9%94%81%E5%AE%9A%20.png)
运行后,我被锁定在服务器之外shutdown -h now
。现在,当我再次尝试 ssh 进入服务器时,错误消息是
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /Users/Jillian/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 159.203.165.140 [159.203.165.140] port 22.
debug1: connect to address 159.203.165.140 port 22: Operation timed out
ssh: connect to host 159.203.165.140 port 22: Operation timed out
我该如何返回服务器?欢迎提出任何建议。
答案1
按下服务器上的电源按钮,如“shutdown -h now”,关闭服务器,就像暂停而不是重新启动一样。我想你想要的是“shutdown -r now”