Re: Limiting SSH access on key based logins?
From: Richard E. Silverman (res_at_qoxp.net)
Date: 09/18/05
- Previous message: morphex: "Limiting SSH access on key based logins?"
- In reply to: morphex: "Limiting SSH access on key based logins?"
- Next in thread: morphex: "Re: Limiting SSH access on key based logins?"
- Reply: morphex: "Re: Limiting SSH access on key based logins?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 18 Sep 2005 15:11:49 -0400
>>>>> "morphex" == morphex <morphex@gmail.com> writes:
morphex> Hi, I'm setting up a backup server, which I was planning to
morphex> have backup other servers using authentication via keys. I'd
morphex> like the keys to only be allowed to do variations of rsync -
morphex> is it possible to specify this?
morphex> I've read in the manual page that authorized_keys is the
morphex> place to put these restrictions, but I'm having some problems
morphex> figuring out the right format.
morphex> Could any of you provide me with an example I could use?
AUTHORIZED_KEYS FILE FORMAT
$HOME/.ssh/authorized_keys is the default file that lists the public keys
that are permitted for RSA authentication in protocol version 1 and for
public key authentication (PubkeyAuthentication) in protocol version 2.
AuthorizedKeysFile may be used to specify an alternative file.
...
command="command"
Specifies that the command is executed whenever this key is used
for authentication. The command supplied by the user (if any) is
-- Richard Silverman res@qoxp.net
- Previous message: morphex: "Limiting SSH access on key based logins?"
- In reply to: morphex: "Limiting SSH access on key based logins?"
- Next in thread: morphex: "Re: Limiting SSH access on key based logins?"
- Reply: morphex: "Re: Limiting SSH access on key based logins?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]