Re: logging in with tunnels but no shell
From: Kyler Laird (Kyler_at_news.Lairds.org)
Date: 10/24/03
- Next message: ed: "port forwarding with ssh on linux"
- Previous message: Jacob Nevins: "Agent security (was Re: Secure file transfer from unix to windows)"
- In reply to: jdpipe: "logging in with tunnels but no shell"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 24 Oct 2003 14:22:26 GMT
john@curioussymbols.com (jdpipe) writes:
>I'm writing a distributed application at the moment that uses SSH as
>its method of transferring data from computer to computer. I want to
>create a private key that remote computers can use to log in to the
>central server. But I don't want these keys to provide access to a
>shell prompt. I want to provide a tunnel to MySQL, a tunnel to a
>webserver, and perhaps SCP. Can I specify those things as part of the
>authorized_keys section?
You can specify
command="cat"
there, but I don't know of a way to specify a restriction on tunnels.
(If you decide to support scp, you'll want to allow a more exotic
program than "cat." Those have been discussed here already.)
--kyler
- Next message: ed: "port forwarding with ssh on linux"
- Previous message: Jacob Nevins: "Agent security (was Re: Secure file transfer from unix to windows)"
- In reply to: jdpipe: "logging in with tunnels but no shell"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|