fix: nvm profile, bump ssh

This commit is contained in:
Andrejus
2023-01-10 22:54:43 +00:00
parent b27b54959f
commit 283c8cdad6
4 changed files with 12 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
#!/usr/bin/env bash
ssh_target="$HOME/.ssh"
ssh_key="$ssh_target/id_rsa"
ssh_key="$ssh_target/id_ed25519"
ssh_pub="$ssh_key.pub"
if [ ! -f "$ssh_key" ]; then
ssh-keygen -t rsa -b 4096 -f "$ssh_key"
ssh-keygen -t ed25519 -f "$ssh_key"
fi
cat "$ssh_pub"