Re: executing commands from telnet from D3
- From: "Tedd Scofield" <tedd_scofield@xxxxxxxxxxx>
- Date: 24 Aug 2005 13:57:44 -0700
"Would the ssh command on the remote linux box allow me to get to the
D3
telnet server defined on a particular range of ports on the aix box? Or
am I missing your point?"
The short answer is yes.
In order to do this, your user on the linux box would have to first log
in with ssh before issuing the kconsole command line. For example,
lets assume you've set up a nailed telent on you AIX box so it listens
to port 4444/tcp. The ssh command line run by the user on the remote
linux box would look something like this:
ssh -L 2000:127.0.0.1:4444 srvuser@xxxxxxxxxxxxxxx
Once the user connects to the AIX box using this kind of ssh login
trick, they can then telnet through the loopback interface on port
2000. In other words, telnet localhost 2000, executed on the remote
linux box's command line will connect them with the nailed telnet port
on the AIX box that is set up on port 4444.
On that same command line, you could also have the '-R
15001:127.0.0.1:22' arguments to set up the tunnel that will be needed
to copy back to the remote linux client. So you'd end up with
something like:
ssh -L 2000:127.0.0.1:4444 -R 15001:127.0.0.1:22
srvuser@xxxxxxxxxxxxxxx
Going down this road requires the user make 2 connections. One for the
tunneling, and one for the actual terminal session. As ugly as that
seems, it can be automated to the point where the user wont even notice
with pub/priv key authentication. The ugly command lines can be tossed
into a shell script of some sort that will make it easier on the end
user. But setting up the keys is on you and is a little tricky at
first until you get used to it. After that its pretty much busy work.
.
- Follow-Ups:
- Re: executing commands from telnet from D3
- From: Art Martz
- Re: executing commands from telnet from D3
- References:
- executing commands from telnet from D3
- From: Art Martz
- Re: executing commands from telnet from D3
- From: (latimerp)
- Re: executing commands from telnet from D3
- From: Art Martz
- Re: executing commands from telnet from D3
- From: Dave Weaver
- Re: executing commands from telnet from D3
- From: Ross Ferris
- Re: executing commands from telnet from D3
- From: Art Martz
- Re: executing commands from telnet from D3
- From: Bill H
- Re: executing commands from telnet from D3
- From: jmembrey
- Re: executing commands from telnet from D3
- From: Tom deL
- Re: executing commands from telnet from D3
- From: Art Martz
- Re: executing commands from telnet from D3
- From: Tedd Scofield
- Re: executing commands from telnet from D3
- From: Art Martz
- executing commands from telnet from D3
- Prev by Date: Re: Need to buy UV10 for Linux
- Next by Date: Re: Need to buy UV10 for Linux
- Previous by thread: Re: executing commands from telnet from D3
- Next by thread: Re: executing commands from telnet from D3
- Index(es):
Relevant Pages
|