wip: further cleanup
This commit is contained in:
9
scripts/install.d/03-ssh.sh
Executable file
9
scripts/install.d/03-ssh.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
ssh_target="$HOME/.ssh"
|
||||
ssh_key="$ssh_target/id_rsa"
|
||||
ssh_pub="$ssh_key.pub"
|
||||
if [ ! -f "$ssh_key" ]; then
|
||||
ssh-keygen -t rsa -b 4096 -f "$ssh_key"
|
||||
fi
|
||||
|
||||
cat "$ssh_pub"
|
||||
Reference in New Issue
Block a user