On 16.12.2006 16:56, Martti Laaksonen wrote:
You might want to look into using public keys for user authentication and setting some options to a specific key(s) in ~/.ssh/ authorized_keys file.
There's more info in sshd's man page (paragraph Authorized_keys file format), but basically you can restrict a specific public key to execute only a certain command by placing command="command_name" option before the public key data in the authorized_keys file.
Thank you too! This sounds like the thing I need exactly. I am currently doing the same by a bash script, set as the default user's shell that checkes if the command is the one I allow. But this is already build-in, so I'll switch to it! Thanks... -- Blade hails you... Farewell - no words to say Beside the cross on your grave And those forever burning candles --Nightwish