Last active
October 18, 2018 16:07
-
-
Save FooBarWidget/433a6f69b529434276ebd86b59a8aac2 to your computer and use it in GitHub Desktop.
Install macos-slave-access-key.pub
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
#!/bin/bash | |
{ | |
set -ex | |
cd $HOME | |
mkdir -p .ssh | |
chmod 700 .ssh | |
echo ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCJ7+aYfRPqG7KZWpxxIwOV+z4YTOhnwTxIq9szO4GhdpLKdrBMrXMpYEut31w+g2d3N5gIDAaHUA72IfuC0Eig= macos-slave-host >> .ssh/authorized_keys | |
chmod 600 .ssh/authorized_keys | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment