b@rry wrote:
there are thousands of scan attempts being run against all ssh servers out there.
I would do two main things.
1. Disable password authentication and enable RSA key authentication. This way you can manage your keys, change the key regularly and set a high bit value (2048 or higher) to get max key strength. This also emsures that no script kiddies get onto your box with dictionary based ssh attacks
2. Choose an obfuscated port, don't use 22, use something at the wrong end of the scanning spectrum, say *sucks thumb* port 53245 (check that this is not) Many scanners will only scan authorised ports as the high ports are a waste of time, if it is only you using it, then you don't have to worry about notifying people of you obscure port number...
Some others.
MAKE SURE you are only allowing protocol 2 Disable agent forwarding. Set your server host key to a stronger key strength.
Anyway, that should all help...
_____
From: piet [mailto:prooroa@wanadoo.nl] Sent: 10 November 2005 11:59 AM To: SuSE-Security Subject: [suse-security] safety with scp
Good morning group,
I want to access my server(home based SuSE-box) through the Internet so I can upload images with winscp from my XP-laptop. Is it safe to just open port 22 for the external world, or do I need extra safety measures? regards, piet
using another port I get, but my server (only 80 is open for some time now is scanned on hi ports night and day. at the moment 6630 happens to be popular, in other words is it safe enough. What I want to do isn't top secret I just want a safe way to get rid of my images when on the road. so: no password login (I do use now) and use keys and do portforwarding, am I right? Can I also use the macadres of my laptop, or is that not safe enough?? piet