Web Hosting Talk







View Full Version : Little SSH brainfart.


nwtg
03-01-2005, 04:02 PM
Hello!

One of my friends changed her SSH port from 22 to something else. I know how to connect to port 22 from the command line, but I can't remember the command to connect to a different port on SSH. Can someone help?

zupanm
03-01-2005, 04:09 PM
ssh -p 5000 user@host

probonic
03-01-2005, 04:10 PM
What SSH client are you using? If it's command line in Linux, it's the option "-p <port>". In Putty it's a text box just to the right of the host name.

EDIT: zupanm beat me to it ;)

folsom
03-01-2005, 04:10 PM
-p

7 chars

Captian_Spike
03-01-2005, 04:46 PM
Edit: Uh, misread the original post ;)

nwtg
03-02-2005, 06:27 AM
Thanks guys. I normally would connect in PuTTY, however her box is set so no Win32 users can connect to it. Linux/Unix only.

Paul
03-02-2005, 07:16 AM
Originally posted by 6PM
Thanks guys. I normally would connect in PuTTY, however her box is set so no Win32 users can connect to it. Linux/Unix only.

How in the world does it detect that? TCP/IP Timestamp giveaway?

Wow thats really anal

nwtg
03-05-2005, 07:44 AM
Not sure how she does it, but she does it. :)

superprogram
03-05-2005, 09:53 AM
Wouldnt putty -ssh ip:22 work?

cpanelgh0st
03-05-2005, 02:43 PM
Originally posted by PaulTech
How in the world does it detect that? TCP/IP Timestamp giveaway?

Wow thats really anal

Anal and bizarre. Why in gods name would you block off a platform? Maybe anti-win32 zealot? Or she's blocking your IP at random times just to be a BOFH? ;)

nwtg
03-05-2005, 03:38 PM
This woman hates anything by Microsoft....another reason why she's such a cool person.

cpanelgh0st
03-05-2005, 03:46 PM
IMHO, that's pretty stupid.. sure I don't like what MS does (patents, security, etc., but it's just another platform. :/

JTY
03-05-2005, 03:59 PM
If you have no reason for Win32 clients to be connecting it's actually a reasonable idea. Would certainly block a lot of worm traffic.

As for how it's filtered, I know PF can identify the client operating system.

cpanelgh0st
03-05-2005, 04:21 PM
Windows is pretty simple to pick up on based on a SYN packet, and the fact that the TCP/IP stack hasnt changed much between windows versions.

However I wonder (not 100% sure) if having a linux NAT router would impact OS fingerprinting.... not /all/ nat routers out there follow standards (including black box domestic cheap nat routers)...