I started ssh tunnel process with supervisor.

Then I wanted to find out which is that process and to kill it. Did not know how to identify so killed one by one to find out does my tunnel still work.

I ran

ps -A | grep sshd

then kill couple of the proceses in the result.

After like second time, when I open putty and try to connect, I cannot even enter the login name - it throws message "network error: connection refused"

How to fix it? And how should I have identified which is my tunnel started with supervisor program?


At some point I ran command

sudo stop ssh

To check if then my tunnel will stop working. But tunnel still worked after this command. If that has something to do with the question.

I also tried pinging to that server and I see that I get replies.

1 Answer 1


Co-worker connected to digital ocean and started ssh service and this fixed the problem

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .