On 9/29/05, Volker Kuhlmann <[EMAIL PROTECTED]> wrote: > > Last night I was using my laptop ssh-ed into my new home server. I was > > setting up NFS, and needed to restart the networking stuff on the > > server. Hey! why did my ssh session suddenly freeze? > > Strange, I am routinely logged into some box via ssh and do a rcnetwork > restart. I've never had a problem, other than of course when I stuffed > up the networking and the network interface doesn't come up again... > > > On a side note, port 22 of the server, which is open to the internet > > through the firewall, had nearly 5000 breakin attempts last night. > > After less than 2 days open. I'm using the default ssh-server install. > > I hope it's secure enough. > > Should be fine, assuming you keep sshd very up-to-date, disable ssh 1 > protocol, and have good passwords on all accounts. Configure sshd to not > allow logins on accounts for which you don't need it. In fact, make a > positive list. Running sshd on a port other than 22 doesn't increase > security, but cuts the zombie traffic. You can use the firewall to do > this - forward external:someport to internalserver:22.
Also have a look at key-only authenication - no passwords to guess.
