|
Home > Archive > Unix questions > December 2005 > rlogin to remote host via specific port
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
rlogin to remote host via specific port
|
|
|
|
| Thobias Vakayil 2005-12-14, 7:50 am |
| Alex Vinokur wrote:
>I need to connect to remote host (embedded target) via IPAdress and
>_specific port_.
>Is it possible to do that via rlogin?
>
> Alex Vinokur
> email: alex DOT vinokur AT gmail DOT com
> http://mathforum.org/library/view/10978.html
> http://sourceforge.net/users/alexvn
>
>
>
rlogin [ -l <username ] hostname
You have to provide the following information in your .netrc file then
it won't ask the passwd
machine <hostname> login <username> passwd <password>
Regards,
Thobias Vakayil
| |
| Chuck Dillon 2005-12-14, 5:57 pm |
| Alex Vinokur wrote:
> I need to connect to remote host (embedded target) via IPAdress and
> _specific port_.
> Is it possible to do that via rlogin?
>
> Alex Vinokur
> email: alex DOT vinokur AT gmail DOT com
> http://mathforum.org/library/view/10978.html
> http://sourceforge.net/users/alexvn
>
You probably want telnet, see the telnet manpage.
-- ced
--
Chuck Dillon
Senior Software Engineer
NimbleGen Systems Inc.
| |
| Barry Margolin 2005-12-15, 2:51 am |
| In article <439FF69D.6020404@alcatel.com>,
Thobias Vakayil <Vakayil.Thobias@alcatel.com> wrote:
> Alex Vinokur wrote:
>
>
> rlogin [ -l <username ] hostname
>
> You have to provide the following information in your .netrc file then
> it won't ask the passwd
> machine <hostname> login <username> passwd <password>
He said he needs to use a specific port, by which I assume he means a
port different from the standard port 513 assigned to rlogin. Where is
that in your response?
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
| |
| Barry Margolin 2005-12-15, 2:51 am |
| In article <dnp9su$f47$1@grandcanyon.binc.net>,
Chuck Dillon <spam@nimblegen.com> wrote:
> Alex Vinokur wrote:
>
> You probably want telnet, see the telnet manpage.
Telnet doesn't implement the rlogin protocol. It's usable with
protocols that use plain text as their interaction language, but rlogin
doesn't. It requires some binary data to be sent at the beginning of
the connection, and performs negotiations from time to time within the
connection (e.g. it sends a special message if the window size changes,
so that the remote application can adjust its output to accomodate it).
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
| |
| Thobias Vakayil 2005-12-15, 7:49 am |
| Barry Margolin wrote:
>In article <439FF69D.6020404@alcatel.com>,
> Thobias Vakayil <Vakayil.Thobias@alcatel.com> wrote:
>
>
>
>
>He said he needs to use a specific port, by which I assume he means a
>port different from the standard port 513 assigned to rlogin. Where is
>that in your response?
>
>
>
I don't think he can connect through a specific port by using rlogin.
For this he has to use some socket programs.
Regards,
Thobias Vakayil
| |
| Chuck Dillon 2005-12-15, 6:05 pm |
| Barry Margolin wrote:
> In article <dnp9su$f47$1@grandcanyon.binc.net>,
> Chuck Dillon <spam@nimblegen.com> wrote:
>
>
>
>
> Telnet doesn't implement the rlogin protocol. It's usable with
> protocols that use plain text as their interaction language, but rlogin
> doesn't. It requires some binary data to be sent at the beginning of
> the connection, and performs negotiations from time to time within the
> connection (e.g. it sends a special message if the window size changes,
> so that the remote application can adjust its output to accomodate it).
>
The OP doesn't mention a protocol. It asks if rlogin is the right tool
to connect to an IP address port combination with no protocol mentioned.
-- ced
--
Chuck Dillon
Senior Software Engineer
NimbleGen Systems Inc.
| |
| Barry Margolin 2005-12-15, 8:50 pm |
| In article <dnscao$8sf$1@grandcanyon.binc.net>,
Chuck Dillon <spam@nimblegen.com> wrote:
> Barry Margolin wrote:
>
> The OP doesn't mention a protocol. It asks if rlogin is the right tool
> to connect to an IP address port combination with no protocol mentioned.
You're right. I saw the Subject line, which asked how to use rlogin to
connect to a specific port, and then didn't read the body carefully.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
|
|
|
|
|