unauthorised ssh login attempts

vdvm

Verified User
Joined
Oct 5, 2005
Messages
39
Hi,

Daily i get 3 or 4 brute force warnings. They try to access sshd.

Someone advised me to change the listening port of sshd.

How can i change it?
Are there better ways to solve "hacking" attempts?
 
Hi,

nano /etc/ssh/sshd_config for Redhat based systems.

Uncomment the Port line and change to the port you want.

Then restart the ssh server and connect on the new port :)

Keep your current connection to the server open just incase it won't allow you to connect on the new port.

Also remember to opn the port in any firewall scripts.

Thanks,
Grant
 
Back
Top