diff options
author | Christian Hesse <mail@eworm.de> | 2020-03-27 21:50:53 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-03-27 22:12:49 +0100 |
commit | 997ef3bf2379c1526e39544067c8257d5e999b14 (patch) | |
tree | dc45b99da1ffcb287d8585434587b509a766f536 /doc/ssh-keys-import.md | |
parent | e8bc0a7169df0d0995675aa86c1a84f7ebbb10f9 (diff) |
add doc/ssh-keys-import.md
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) |