ssh-keyadd
Package: WA2L/edrc 1.5.57
Section: Maintenance Commands (1m)
Updated: 18 May 2013
Index
Return to Main Contents
NAME
ssh-keyadd - add ssh keys needed for WA2L/edrc to authorized_keys file
SYNOPSIS
edrc/bin/ssh-keyadd
[
-h
]
ssh-keyadd
[
-y
] [
-u user
]
AVAILABILITY
WA2L/edrc
DESCRIPTION
Add SSH public keys to a users (normally root's)
authorized_keys
file(s).
This command is used to help to efficiently add the needed SSH
keys to ensure the connectivity for WA2L/edrc needed for the
commands as
remote_shell,
remote_copy,
filedist,
rcmd
and
the
edrc
trunk functionality.
Furthermore the SSH daemon configuration file is
modified that way that it is allowed to connect as root. To
make the configuration change active, the HUP signal is sent
to the SSH daemon.
With
ssh-keyadd
it is also possible to get an overview of the current SSH key
situation due to the fact, that the tool gives an easy to read
consolidated view of the applied keys.
OPTIONS
- -h
-
usage message.
- -y
-
answer to "yes" to all interactive questions.
- -u user
-
username if it is different form the default (root).
ENVIRONMENT
-
EXIT STATUS
- 0
-
no error.
- 1
-
configuration file does not exist.
- 4
-
Usage printed.
- 6
-
ssh-keyadd
aborted pressing <Ctrl>+<C>.
FILES
- edrc/etc/ssh-keyadd.cfg
-
ssh-keyadd
configuration file.
- edrc/etc/ssh-keyadd.pub
-
global public keys to be added.
- /etc/ssh/sshd_config
-
configuration file of the SSH daemon.
- /etc/ssh/etc/sshd_config
-
configuration file of the SSH daemon.
- edrc/var/connection/security/[<EDRC_USER>|<user>]/OpenSSH/*/[default|<hostname>]/*.pub
-
local public keys to be added.
- ~<user>/.ssh/authorized_keys
-
SSH authorized keys file of the user.
See also
ssh-keyadd.cfg
for more information.
- ~<user>/.ssh/authorized_keys2
-
SSH authorized keys file of the user.
See also
ssh-keyadd.cfg
for more information.
EXAMPLES
-
SEE ALSO
edrcintro(1),
remote_copy(3),
remote_shell(3),
ssh-exec(1),
ssh-keyadd.cfg(4),
ssh-keyadd.pub(4),
ssh(1),
sshd(1m),
sshd_config(4),
ssh-keygen(1)
NOTES
-
BUGS
-
AUTHOR
ssh-keyadd was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2014 by
Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 00:14:25 GMT, March 08, 2025