Re: Limit commands

From: Darren Tucker (dtucker_at_zip.com.au)
Date: 04/29/05

  • Next message: Josh Cole: "Port forwarding to listen on designated interface"
    Date: Fri, 29 Apr 2005 11:39:21 +1000
    To: jvilla@innovativesource.net
    
    

    Jonathan Villa wrote:
    > I've read over and over documentation concerning per-account server config and
    > forced commands...
    [...]
    > OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
    [...]
    > ~/.ssh/authorized_keys
    > ~/.ssh2/myuser.pub
    > ~/.ssh2/authorization

    .ssh2/ is used by ssh.com's Tectia, not OpenSSH. You need to put a
    "command=" restriction on the key in authorized_keys.

    See the "AUTHORIZED_KEYS FILE FORMAT" section of the sshd man page for
    details.

    -- 
    Darren Tucker (dtucker at zip.com.au)
    GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
         Good judgement comes with experience. Unfortunately, the experience
    usually comes from bad judgement.
    

  • Next message: Josh Cole: "Port forwarding to listen on designated interface"