运行后,我被锁定在服务器之外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”