Mailinglist Archive: opensuse (2859 mails)
| < Previous | Next > |
Re: [opensuse] SSH tunnels without a real shell ?
- From: John Andersen <jsa@xxxxxxxxxxxxxx>
- Date: Thu, 3 May 2007 20:18:47 -0800
- Message-id: <200705032018.53693.jsa@xxxxxxxxxxxxxx>
On Thursday 03 May 2007, Andreas wrote:
> Hi,
>
> is there a way to get expernal people to establish a SSH tunnel to one
> firewalled internal port without them getting a real shell to snoop around?
Yes, you can run any program you want thru the ssh tunnel.
man ssh
Where in it states:
ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
[-D port] [-e escape_char] [-F configfile] [-i identity_file] [-L
[bind_address:]port:host:hostport] [-l login_name] [-m mac_spec]
[-O ctl_cmd] [-o option] [-p port] [-R
[bind_address:]port:host:hostport] [-S ctl_path] [user@]hostname
-----> [command]
That command bit is what you want.
--
_____________________________________
John Andersen
> Hi,
>
> is there a way to get expernal people to establish a SSH tunnel to one
> firewalled internal port without them getting a real shell to snoop around?
Yes, you can run any program you want thru the ssh tunnel.
man ssh
Where in it states:
ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
[-D port] [-e escape_char] [-F configfile] [-i identity_file] [-L
[bind_address:]port:host:hostport] [-l login_name] [-m mac_spec]
[-O ctl_cmd] [-o option] [-p port] [-R
[bind_address:]port:host:hostport] [-S ctl_path] [user@]hostname
-----> [command]
That command bit is what you want.
--
_____________________________________
John Andersen
| < Previous | Next > |