diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-05-02 22:33:24 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-05-02 22:33:24 +0200 |
commit | 4cf668d9a23e39fbc8a215cc7876f95291722366 (patch) | |
tree | 5099b74d7bb3056842c7ddede49370ea4829e995 /config/essentials/shell/functions.sh | |
parent | 595d88df8cc39b304951a8e487109e336daaebdf (diff) |
Add sshids alias and ssh_keyadd function
Diffstat (limited to 'config/essentials/shell/functions.sh')
-rw-r--r-- | config/essentials/shell/functions.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh index 99d854e..8172c73 100644 --- a/config/essentials/shell/functions.sh +++ b/config/essentials/shell/functions.sh @@ -330,3 +330,5 @@ serve() { --publish 80:5000 sigoden/dufs /data --allow-upload fi } + +ssh_keyadd() { ssh-keygen -f "$HOME"/.ssh/"$1" -P "$(pass generate -f keys/"$HOST"/ssh/"$1" | tail -n 1)" -t ed25519; } |