Created
July 23, 2019 06:57
-
-
Save jrisch/dd55596df2d14247c7b642ae66528704 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<EOF > sshkeys/key.sh | |
#!/bin/bash | |
mkdir -m 0700 .ssh | |
wget http://ip-of-rancher-server:8081/id_rsa.pub .ssh/authorized_keys | |
chmod og-rw .ssh/authorized_keys | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment