![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
The client is Windows and the server is Linux. I believe that leaves OpenSSH or Putty as likely tools for this. Anything else? (Cygwin with *nix tools are not an option.) |
#4
| |||
| |||
|
|
I have a process that uses telnet to get into local servers. A client has a remote Linux system with only SSH access. So unless that's changed I believe I need to create an SSH tunnel where I can still telnet locally and have the data transparently forwarded through to the other side. |
|
The client is Windows and the server is Linux. I believe that leaves OpenSSH or Putty as likely tools for this. Anything else? |
|
What confuses me is that I'm not telnetting out and expecting the server to receive telnet. This is telnet out (maybe to port 23) and SSH in (through 22). Even though I'm using telnet, the Linux server needs to see an SSH client, and I need to provide proper authentication details. But I don't want to have to tweak anything on the server to make this happen. |
#5
| |||
| |||
|
|
Listen: 127.0.0.1/23 Forward: Localhost/23 |
ort and connect to the local Tunnelier
#6
| |||
| |||
|
|
It's been a very long time since I've looked into this area. I have a process that uses telnet to get into local servers. A client has a remote Linux system with only SSH access. So unless that's changed I believe I need to create an SSH tunnel where I can still telnet locally and have the data transparently forwarded through to the other side. The client is Windows and the server is Linux. I believe that leaves OpenSSH or Putty as likely tools for this. Anything else? (Cygwin with *nix tools are not an option.) What confuses me is that I'm not telnetting out and expecting the server to receive telnet. This is telnet out (maybe to port 23) and SSH in (through 22). Even though I'm using telnet, the Linux server needs to see an SSH client, and I need to provide proper authentication details. But I don't want to have to tweak anything on the server to make this happen. |
#7
| |||
| |||
|
|
"Tony Gravagno" <nos... (AT) nospam (DOT) invalid> wrote in message news:a833e651jqfpv3qmrq6nr98hrccqv8f2en (AT) 4ax (DOT) com... It's been a very long time since I've looked into this area. *I have a process that uses telnet to get into local servers. *A client has a remote Linux system with only SSH access. *So unless that's changed I believe I need to create an SSH tunnel where I can still telnet locally and have the data transparently forwarded through to the other side. The client is Windows and the server is Linux. *I believe that leaves OpenSSH or Putty as likely tools for this. *Anything else? *(Cygwin with *nix tools are not an option.) What confuses me is that I'm not telnetting out and expecting the server to receive telnet. *This is telnet out (maybe to port 23) and SSH in (through 22). *Even though I'm using telnet, the Linux server needs to see an SSH client, and I need to provide proper authentication details. *But I don't want to have to tweak anything on the server to make this happen. I don't think there is any simple way to do that. *All an ssh tunneling connection will do is help your telnet client packets connect with the {nonexistant} telnet server demon on the linux box. *Or more typically, with the xinetd demon which slaps an in.telnetd process on each new connection to that port 23 of the linux server. *Ssh just isn't a protocol converter. You can doublecheck your tunneling methodology by setting things up to some other service on the linux box, like an email server or a web page server, if they've got them... * Often cups printing subsystem provides a web page on the localhost 'nic' of linux, port 631 instead of port 80. *You'd have to research some basic introductory command for each other protocol you tested with, like ehlo for email or get for http, but beyond that telnet is pretty flexible for such testing. Speaking of putty, I think there's a command-line switch that invokes a certain saved 'session' line item.... The alternate spellings of the netcat command are *nc * * *ncat on various platforms. *Seems as handy as pick's * *tandem... In redhat linux, you'd do * * netstat *-nl * *to show what ports are open. /etc/xinetd.d/telnet * *file is provided by the * telnet-server ** rpm. I say 'tunneling', * but *'port forwarding' might be a better google target. |
#8
| |||
| |||
|
|
I have been working with Tunnelier as Kevin suggests. *I took a look at Pageant as Art suggests but that solution is a bit too rigorous. Kevin Powick *wrote: Listen: 127.0.0.1/23 *Forward: Localhost/23 That's the kicker. *The telnetd is not running on the server. I can start Tunnelier and get a connection into the remote server. *If I'm understanding this correctly that connection should be at Linux shell when logged in. I can also telnet to localhost ort and connect to the local Tunnelierserver, which as above is connected to the remote server. *So, so far, we're end-to end. On one hand I'll say I think there is still a mismatch between the telnet client and the remote SSH server. *The local telnet client (for right now AccuTerm but that will change as soon as testing is complete) doesn't get a response from the server. *No data seems to be flowing there. On the other hand, I can't even do a local SSH and get a response from the other side when the destination is 127.0.0.1/22. I must be missing something in the config but I'm guessing this may still not work with that telnet/ssh protocol difference. Thoughts? Thanks again! T |
#9
| |||
| |||
|
|
It's been a very long time since I've looked into this area. I have a process that uses telnet to get into local servers. A client has a remote Linux system with only SSH access. So unless that's changed I believe I need to create an SSH tunnel where I can still telnet locally and have the data transparently forwarded through to the other side. The client is Windows and the server is Linux. I believe that leaves OpenSSH or Putty as likely tools for this. Anything else? (Cygwin with *nix tools are not an option.) What confuses me is that I'm not telnetting out and expecting the server to receive telnet. This is telnet out (maybe to port 23) and SSH in (through 22). Even though I'm using telnet, the Linux server needs to see an SSH client, and I need to provide proper authentication details. But I don't want to have to tweak anything on the server to make this happen. This is 'brute force and ignorance', but can your applet telnet to a |
#10
| |||
| |||
|
|
That's the kicker. The telnetd is not running on the server. |
|
I can start Tunnelier and get a connection into the remote server. If I'm understanding this correctly that connection should be at Linux shell when logged in. |
|
On the other hand, I can't even do a local SSH and get a response from the other side when the destination is 127.0.0.1/22. |
![]() |
| Thread Tools | |
| Display Modes | |
| |