Why SSH connect refused after restore from my snapshot?
After creating a droplet from my snapshot, I tried to ssh my host remotely, but I received: ssh: connect to host 22.214.171.124 port 22: Connection refused.
I can use web console on DO, and I typed vim /etc/ssh/sshd_config, it showed listen port 22.
I ran service ssh restart, it showed ssh start, but when I typed netstat -plutn , I can’t find port22 was listening by ssh.
I can ping my server.
I want to ssh remotely in my computer, so what can I do ?
Please help me!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.