-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sure you can.  Use the -p option on the command line, like this:

ssh -p 6112 <server ip>

If it connects, it will just sit there, doing nothing.  If the port is 
blocked, it will tell you "Connection refused".

As already mentioned, telnet will also work. The command syntax is a bit 
different though.  It looks like this:

telnet <server ip> 6112

Again, it should just sit there if it connects, or tell you "Connection 
refused".

(man telnet and man ssh will tell you all you need to know of course)

Ian

On Tuesday 11 February 2003 3:32 pm, Jason Louie wrote:
> Can you SSH into any port?  I'm not at all formilar with SSH so I don't
> know what I'm talking about.  What I really need is a way to test if
> port 6112 is open.  Can SSH do that? Something new around every corner.
>
> :)
>
> Jason
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+SXwrSiY+RXI7JS4RAs8qAKDkvSnM+H72y/KSzTfsDnaVghClagCglOmz
EZY8waMIABOR6Wb8I4vrkf0=
=VHiP
-----END PGP SIGNATURE-----

Reply via email to