Ssh Server Security


Table of Contents

Debian ssh server (sshd) port configuration 
open-ssh keypair Auth 
open-ssh keypair Auth 
open-ssh keypair Auth 
Securing OpenSSH Server 
Securing OpenSSH Server 
Securing OpenSSH Server 
Securing OpenSSH Server 
Securing OpenSSH Server 
off-port, otp, & ajaxterm 
use iptables rules 
use iptables rules 
use iptables rules 
use iptables rules 
opiekey/skey 
opiekey/skey 
opiekey/skey 
Securing OpenSSH Server 
Securing OpenSSH Server 
port knocking 
Denyhosts 
Denyhosts 
Denyhosts 
On defense of the sshd crackers 
On defense of the sshd crackers 
On defense of the sshd crackers 
On defense of the sshd crackers 
On defense of the sshd crackers 
On defense of the sshd crackers 
On defense of the sshd crackers 
On defense of the sshd crackers 
On defense of the sshd crackers 

Debian ssh server (sshd) port configuration 

Change the sshd port from default to 65500

--- /etc/ssh/sshd_config.set.20223      2007-10-15 00:23:07.000000000 -0400
+++ /etc/ssh/sshd_config        2007-10-15 00:24:50.000000000 -0400
@@ -7,3 +7,3 @@
-Port 22
+Port 65500
 Protocol 2,1
% /etc/init.d/ssh restart
Restarting OpenBSD Secure Shell server: sshd.
ssh -p 65500 localhost
Password:
. . .
logged out from tong@... at Mon Oct 15 00:25:38 EDT 2007
Connection to localhost closed.

documented on: 2007-10-15