diff options
author | Christian Hesse <mail@eworm.de> | 2020-03-27 22:15:43 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-03-27 22:15:43 +0100 |
commit | 54a8f2839dd32d9c8bd60c2edbbca3606b250bbb (patch) | |
tree | b8164b53f21696c30869ca2b4c3699efd3eb1579 /doc/ssh-keys-import.md | |
parent | a87fbb4be1e1e090b01db9eebd7799a0e1d62771 (diff) | |
parent | 1d93e92dcda753b855e89295f74dafae4743bb80 (diff) |
Merge branch 'documentation'
Diffstat (limited to 'doc/ssh-keys-import.md')
-rw-r--r-- | doc/ssh-keys-import.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/ssh-keys-import.md b/doc/ssh-keys-import.md new file mode 100644 index 0000000..d221072 --- /dev/null +++ b/doc/ssh-keys-import.md @@ -0,0 +1,33 @@ +Import SSH keys +=============== + +[◀ Go back to main README](../README.md) + +Description +----------- + +This script imports public SSH keys (files with extension "`pub`") into +local store for user authentication. + +Requirements and installation +----------------------------- + +Just install the script: + + $ScriptInstallUpdate ssh-keys-import; + +Usage and invocation +-------------------- + +Copy files with extension "`pub`" containing public SSH keys for your device. +Then run the script: + + / system script run ssh-keys-import; + +Starting with an `authorized_keys` file you can split it on a shell: + + while read type key name; do echo $type $key $name > $name.pub; done < authorized_keys + +--- +[◀ Go back to main README](../README.md) +[▲ Go back to top](#top) |