in reply to Re^2: SSH daemon in Perl?
in thread SSH daemon in Perl?
How can I make the OpenSSH server execute this program upon connection without creating any user accounts?
You'll need one user to actually own the process running the perl script but it can be the same user serving all your clients. Then use ForceCommand to ensure that they can only execute echo.pl. You can/should also set that user's shell to something suitably restrictive.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: SSH daemon in Perl?
by robs87 (Novice) on Jun 22, 2016 at 23:11 UTC | |
by soonix (Chancellor) on Jun 23, 2016 at 08:11 UTC | |
by robs87 (Novice) on Jun 23, 2016 at 10:39 UTC | |
by soonix (Chancellor) on Jun 24, 2016 at 06:59 UTC | |
by robs87 (Novice) on Jun 24, 2016 at 14:10 UTC | |
|