On Tue, 3 Jun 2003, at 8:56am, [EMAIL PROTECTED] wrote:
>> For best results, use a dedicated account, and restrict the commands that
>> can be run in the SSH authorized_keys file.
> 
> Are you saying that you can limit the commands by some special
> configuration of the authorized_keys file?  If so, please say more.

  Pretty much.  You add an option like

        command=foo

at the start of the line of the key in question.  That will force that
command to execute every time the corresponding key is used to authenticate.

> There's no authorized_keys man page, and it's not immediately obvious from
> the format of authorized_keys, but I'm interested.

  authorized_keys is documented in the OpenSSH sshd(8) man page.

-- 
Ben Scott <[EMAIL PROTECTED]>
| The opinions expressed in this message are those of the author and do  |
| not represent the views or policy of any other person or organization. |
| All information is provided without warranty of any kind.              |

_______________________________________________
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss

Reply via email to