mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 22:04:43 +03:00
6 lines
139 B
Bash
Executable File
6 lines
139 B
Bash
Executable File
#!/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
|