sshd: FATAL: Creating listener failed: port 22 probably already in use

azrael

Active Member
Jul 20, 2003
33
0
156
After hecked, I got the message.

sshd: FATAL: Creating listener failed: port 22 probably already in use

How can solve this problem.
 

WebScHoLaR

Well-Known Member
Dec 14, 2005
510
3
168
Planet Earth
netstat -lnp | grep :22

It will show you the process listening on port 22. You can check the location for that process as:

ls -la /proc/PID

You will get the PID in the output of first command.
 

azrael

Active Member
Jul 20, 2003
33
0
156
Is it clue?

I solved to copy non hacked site.

Your reply was clue.

Thanks.
 
Last edited: