forcing ssh-tunnel in authorized_keys
From: Christian Schmidt (forename_dot_surname_at_aifb.uni-karlsruhe.de)
Date: 05/27/03
- Next message: Christian Schmidt: "logging online-time via authorized_keys"
- Previous message: Andrey Asadchev: "Re: How to ensure ssh is working properly ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 27 May 2003 10:58:56 +0200
Can I force a user, who logs in with ssh and a unique key to open a tunnel to a
specific host on the remote-side (the side where the ssh-server runs)?
What I want to do is, that a user opens a tunnel with ssh and the ssh-server
tells him at which host the tunnel ends. Example: A user is requesting support
using VNC. He connects via a ssh-tunnel and the ssh-server should connect him to
a free supporter
A possibility might be:
user$ ssh -L 5500:localhost:xxxxx user@server
and the server has a portforward from xxxxx to target:5500, which can dynamicly
adapted.
What I would prefer is an entry in the .ssh/authorized_keys file that connects
the user directly to a free supporter.
Thanks for any ideas,
Christian
-- ----------------------------------------------------------------- Christian Schmidt Institut AIFB - Universität Karlsruhe (TH) D 76128 Karlsruhe -----------------------------------------------------------------
- Next message: Christian Schmidt: "logging online-time via authorized_keys"
- Previous message: Andrey Asadchev: "Re: How to ensure ssh is working properly ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|