On Thu, 12 Jan 2006 11:16:12 GMT,
(E-Mail Removed) wrote:
>I want server foo.com and port 6789 and have tried:
>
>telnet foo.com -p 6789 (like ssh)
>telnet foo.com -port 6789
>
>but am having trouble following the man page, which indicates it's -port.
>I'm able to telnet successfully if there's no port, and ssh, but can't
>telnet with a port specified.
>
>
>Usage: telnet [-8] [-E] [-K] [-L] [-X atype] [-a] [-d] [-e char] [-k
>realm]
> [-l user] [-f/-F] [-n tracefile] [-r] [-x] [host-name [port]]
>
>
>Pardon, reading the manpage isn't helping at the moment.
>
>shouldn't it be "telnet foo.com port 6789"?
"telnet foo.com 6789" should do the trick.
--
Maurice