Re: SSH Slams
On Sunday 10 July 2005 10:24, Matt Peter wrote:
> I'm receiving a few hundred failed ssh login attempts per day. I'm
> not worried about it, since they appear automated and ssh is locked
> down appropriately. I'd like to be able to IP ban these connections
> after a set number of failed login attempts. I'd rather not put ssh
> on a nonstandard port since I'd need to specify it on the cli every
> time I ssh (right?).
You can specify a port in your ~/.ssh/config like so:
Host server
HostName <your-server-ip>
User joe
Port 777
ForwardAgent yes
ForwardX11 yes
Then you can simply just type 'ssh server'.
HTH,
Tom
Reply to:
- References:
- SSH Slams
- From: Matt Peter <wm@bofh.gtbeta.org>