mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-07-01 07:48:02 +00:00
Remove SSH keys and generate them instead
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
mkdir -p ssh
|
||||
if ! [ -f ssh/id_rsa ] ; then
|
||||
ssh-keygen -N '' -t rsa -f ssh/id_rsa && cp ssh/id_rsa.pub ssh/authorized_keys
|
||||
fi
|
||||
Reference in New Issue
Block a user