Aces High Bulletin Board

General Forums => The O' Club => Topic started by: rabbidrabbit on January 12, 2007, 04:43:37 PM

Title: ping on a particular port?
Post by: rabbidrabbit on January 12, 2007, 04:43:37 PM
I thought it was a particular switch on a ping command but can't find it.  Any better ideas?   I have to ping a SSH, port 22 on an IP.
Title: ping on a particular port?
Post by: Aqualung on January 12, 2007, 05:08:21 PM
I don't think you can use ping to ping a specific port.  Telneting to the port may work or else use a port scanner.
Title: Re: ping on a particular port?
Post by: 2bighorn on January 12, 2007, 05:09:06 PM
Quote
Originally posted by rabbidrabbit
I thought it was a particular switch on a ping command but can't find it.  Any better ideas?   I have to ping a SSH, port 22 on an IP.
Use telnet instead

example
c:\telnet hostname 22
Title: ping on a particular port?
Post by: Debonair on January 13, 2007, 01:39:13 AM
ping uses port 25 by default, u can change it using portmap if u r root & u own.
default port for ssh is 22
quake uses port 26000
telnet uses port 23, but is selectable, but the other guy probably aint listening on 22
Title: ping on a particular port?
Post by: 2bighorn on January 13, 2007, 02:16:33 AM
Quote
Originally posted by Debonair
ping uses port 25 by default,
ping is ICMP based and part of IP ie same level as TCP, UDP etc. No ports here.
Port 25 is used by SMTP btw...

Quote
Originally posted by Debonair
telnet uses port 23, but is selectable, but the other guy probably aint listening on 22
Doesn't matter, you can telnet into SSH on port 22 to see if it's open.

You'd get something like this:
SSH-2.0-OpenSSH_3.6
Protocol mismatch.
Title: ping on a particular port?
Post by: Debonair on January 13, 2007, 02:35:38 AM
:O :O darn, i used to knoe stuff & own, but now i just act smart & distribute misinformation.
i'm no better than krusty:cry :cry :cry :cry :cry
where do i go to surrender my copy of emacs?