sshoutcfg - Configuring Secure Shout Host Oriented Unified Talk server side
sshoutcfg adduser [-a <public-key>] [-f] <user-name>
sshoutcfg listuser
sshoutcfg getmotd
sshoutcfg setmotd [-m <message> | -d]
The sshoutcfg tool is used for SSHOUT server side configuring.
This tool changes user information by altering
.ssh/authorized_keys file in sshout user's home.
This tool must be run under sshout user account or root
(UID=0).
adduser [-a <public-key>] [-f] <user-name>
Add an new user with his/her public key to SSHOUT user
list, or add another key for an existing user. The key string is the SSH2
public key, which is in form '<key-type> <base64-encoded-key>';
for more details, see sshd(8).
Options:
- -a <key>
- Specify the public key for user; if this option is not specified, public
key string will be read from stdin.
- -f
- Force add key; add new key for existing user without ask.
listuser
List registered user names and publib keys. Doing this
action also verifys the format of the authorized_keys file.
getmotd
Print current MOTD to stdout
setmotd [-m <message> | -d]
Set a new MOTD, or delete the existing MOTD if option
'-d' is specified.
Options:
- -m <message>
- Set MOTD to <message>; if this option is not specified, stdin will
be read to get the message.
- -d
- Delete existing MOTD if any. This option cannot be used together with
'-m'
(sshout home)/.ssh/authorized_keys (sshout home)/motd
This tool is currently does not verify the format of new key string.
The 'deluser' subcommand should be implemented.