Advertisement

01.09.2008 at 10:17PM PST, ID: 23071816
[x]
Attachment Details

Force single telnet over a SSH tunnle

Asked by naunidh in SSH / Telnet Software, Unix Operating Systems, Linux

Tags: OpenSSH, OpenSSH, any, none, security SSH

I let users telnet to my aplication using ssh tunnle. The users use OpenSSH client 3.x as this,

ssh -2 -N -f -L porta:localhost:23 192.168.xxx.xxx
telnet localhost porrta

The server is also an implementation of OpenSSH. My requirement is to force only one telnet over the tunnle that has been created. For example the following currently works,

ssh -2 -N -f -L porta:localhost:23 192.168.xxx.xxx
telnet localhost porrta
---- from another shell
telnet localhost porrta
---- from another shell
telnet localhost porrta

But I want that consequitive telnet should fail. Is there a server setting to acheive this. Any client setting/option to add while creating tunnle will also work for me, as I can force my users to use it.

If nothing else then I am also willing to change the SSH server side code to suit my needs, but I hope that is the last resort.

Thanks.
Start Free Trial
[+][-]01.09.2008 at 11:14PM PST, ID: 20625481

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.10.2008 at 12:06AM PST, ID: 20625652

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.10.2008 at 02:30AM PST, ID: 20626132

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.10.2008 at 05:24AM PST, ID: 20626875

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.10.2008 at 07:15PM PST, ID: 20633824

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.10.2008 at 11:07PM PST, ID: 20634675

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.13.2008 at 07:29PM PST, ID: 20650553

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.22.2008 at 09:32PM PDT, ID: 21417799

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: SSH / Telnet Software, Unix Operating Systems, Linux
Tags: OpenSSH, OpenSSH, any, none, security SSH
Sign Up Now!
Solution Provided By: naunidh
Participating Experts: 3
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628