Digital Paint Discussion Board

Digital Paint Community => Other Stuff => Topic started by: jitspoe on May 22, 2008, 01:56:24 AM

Title: Setting up sshd to run on additional ports?
Post by: jitspoe on May 22, 2008, 01:56:24 AM
So it seems a lot of ports are blocked at my new job and I can't connect to anything via SSH on port 22.  Is there a way to set up the server so it will run on additional ports.  Also, how can I check which ports I have available on my end?
Title: Re: Setting up sshd to run on additional ports?
Post by: Zorchenhimer on May 22, 2008, 02:26:42 AM
If you are running Ubuntu:
System > Administration > Network Tools

There is a tab called "Port Scan."  Have it scan 127.0.0.1.

For the alternate port, open up the ssh config file (/etc/ssh/ssh_config) and modify line 39 to your needs.
Title: Re: Setting up sshd to run on additional ports?
Post by: y00tz on May 22, 2008, 03:23:32 AM
If it's Windows, could you call
Code: [Select]
netstat or
Code: [Select]
netstat -an from command prompt?

I seem to have written down
Code: [Select]
netstat -an |find /i "<port>" as a search method for open ports, but all it does is search the I drive, lol.
Title: Re: Setting up sshd to run on additional ports?
Post by: Zorchenhimer on May 22, 2008, 12:26:27 PM
Oh, forgot he needed the list of ports Windows side.  >.<
Title: Re: Setting up sshd to run on additional ports?
Post by: jitspoe on May 23, 2008, 11:28:39 AM
Hmm, I guess searching for open ports on my machine doesn't really help much as they get blocked by the router or something else further up.  We have a local IRC server I can connect to, but I can't connect to external IRC servers on the same port.
Title: Re: Setting up sshd to run on additional ports?
Post by: KnacK on May 23, 2008, 02:37:59 PM
/me suggest a friendly visit to the BOFH......


[psssst V: http://www.theregister.co.uk/2008/05/23/bofh_2008_episode_19/ ]