Berkeley CSUA MOTD:Entry 49303
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/12/25 [General] UID:1000 Activity:popular
12/25   

2008/2/29-3/4 [Computer/SW/Security] UID:49303 Activity:nil
2/28    Hi do I allow only a certain SSH key to run a particular command?
        \_ Look for LocalCommand in ssh_config(5). Unless you're
           literally asking what you seem to be asking, in which case
           you're probably out of luck.
        \_ Read the manpages for authorized_keys file if you're using
           openssh.  You can specify the "absolute command" in there, or
           have it call a wrapper and have it process the
           $SSH_ORIGINAL_COMMAND variable.
           \- see /tmp/authorized_keys.acl-sample for an example.
              who is asking?