|
|
|
|
|
Re: iptables on VE0 to prevent SSH Attacks? [message #1645 is a reply to message #1644] |
Fri, 17 February 2006 18:35 |
|
Yet another approach that I use is to put sshd on a different port.
The good thing is it is very easy to do - just add "Port XXXX" line to your /etc/ssh/sshd_config file/, restayou will never ever be attacked, since most people just blindly try default port and do not do port scanning.
The bad (well, not that bad, just a bit inconvenient) thing is you have to remember this new port number and either put it into your ~/.ssh/config or into ssh command line argument. If you use the same machine to ssh from this is not really a problem - you put it into ssh config once and forget about it. But if you use a lot of machines this can be, well, not very convenient.
Kir Kolyshkin
|
|
|