Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have got three computers at my home[A,B,C] ( all connected to each other), now I connect to B from A using telnet( $telnet ip_B) , but when I try to connect to C using this telnet session( telnet > open ip_C) , I get this error, "already connected to xxx". Is it possible to connect A to B and then use that session to connect to C, so that C finds that the request is being asked by B.
Can telnet do this, or is there any other service, that might be helpful.
I have got three computers at my home[A,B,C] ( all connected to each other), now I connect to B from A using telnet( $telnet ip_B) , but when I try to connect to C using this telnet session( telnet > open ip_C) , I get this error, "already connected to xxx". Is it possible to connect A to B and then use that session to connect to C, so that C finds that the request is being asked by B.
Can telnet do this, or is there any other service, that might be helpful.
Please do not mention ssh.
Telnet already does that. But you don't say how you're doing this telnet session (command line, or from a program???) If you connect from A to B, then go from B to C, C will see you as coming from address B.
This all depends on your network setup, firewalls, etc. And if you don't like people mentioning SSH....too bad. SSH replaced telnet years ago, for a wide variety of reasons. Telnet is BAD to use, period, so upgrading is always going to be suggested. If you don't like the suggestions, then don't post the question.
Thanks for your suggestion.
I don't have anything against ssh, I know it's more secure and a great service. What I am trying to do is, using the command line telnet to B from A, this connects me to the B, now since ''[' is the escape character, pressing ctrl+[ , sends me to the telnet command prompt while I am still connected to B, now how can I connect to C using this command prompt, since on doing "telnet> open xxx" , I get the error, already connected to yyy. Is it possible to achieve this? I don't have any firewalls on any of the three systems.
Or if there is any other method , can you explain it to me ?
sounds like you're still trying to open a connection from A. ctrl+[ seems arbitrary and possibly the root cause. When you're telnetted into another machine you should be able to run
Maybe I am not making myself clear, what I want is to connect A to B,
A> telnet B
connected to B
Escape character is '^]'.
now 'pressing ctrl+]'
telnet> open C
error?already connected to B.
Telnet can only open one connection at a time. When you escape back to the telnet prompt, the connection is still open, unless you issue the close command.
--- rod.
Maybe I am not making myself clear, what I want is to connect A to B,
A> telnet B
connected to B
Escape character is '^]'.
now 'pressing ctrl+]'
telnet> open C
error?already connected to B.
so how can I achieve this using telnet.
theNbomr explained it well.
And you're very clear, but are obviously having problems with basic concepts. Kind of like saying "I want to call my friend Bob, and when I get him on the phone, I want him to call Sally. So when Bob answers, I hang up....."
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.