freewrt_2_0
| Line | |
|---|
| 1 | config FWRT_PACKAGE_SLEEPSHELL
|
|---|
| 2 | prompt "sleepshell........................ Sleep Dummy Shell (login shell for ssh tunneling)"
|
|---|
| 3 | tristate
|
|---|
| 4 | default n
|
|---|
| 5 | help
|
|---|
| 6 | This is a simple do-nothing, sleep-forever program that can be used as a
|
|---|
| 7 | login shell (in Linux or Unix) to keep the connection open but without
|
|---|
| 8 | interactive shell. We use it to create SSH accounts for users who will only
|
|---|
| 9 | use them for SSH-tunneling; to create an encrypted tunnel to our servers
|
|---|
| 10 | (for example to connect securely to database servers like mySQL, PostgreSQL,
|
|---|
| 11 | etc).
|
|---|
| 12 |
|
|---|
| 13 | Most restricted shells still allow execution of local commands from the SSH
|
|---|
| 14 | account. Setting the account shell to something like /bin/false (or any other
|
|---|
| 15 | simple programs) usually won't work because the tunnel is closed as soon as
|
|---|
| 16 | the program finish its execution. Sleep Dummy Shell just sleeps until its
|
|---|
| 17 | execution is terminated by the user or the tunnel is closed.
|
|---|
| 18 |
|
|---|
| 19 | see http://www.mariovaldez.net/software/sleepshell/
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.