[K12OSN] SSH

Petre Scheie petre at maltzen.net
Wed Oct 6 15:16:20 UTC 2004


Look for the

#Port 22

setting in /etc/ssh/sshd_config.  It's near the top.  Take out the #, change the 
number to the port you want to use, something above 1024.  Be sure to restart 
sshd after you make the change.

Petre

Jim Kronebusch wrote:
>>I set some of my boxes to 2322, for example, and virtually all those
> 
> bogus attempts disappeared. 
> 
> Perfect.  How do you change the port it listens on?  I want to change
> mine today, all of these attempts to hack into my boxes is pissing me
> off.  You'd think I had a Windows machine running here or something.
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.772 / Virus Database: 519 - Release Date: 10/1/2004
>  
> 
> 




More information about the K12OSN mailing list