kill it
This commit is contained in:
1 parent
a159c5a708
commit
2ac9996b27
1 file changed
-10
@@ -1,10 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -eo pipefail
|
|
||||||
sed --in-place "s|access_key|access_key = $AWS_ACCESS_KEY|" .s3cfg
|
|
||||||
sed --in-place "s|secret_key|secret_key = $AWS_SECRET_KEY|" .s3cfg
|
|
||||||
s3cmd -c .s3cfg get s3://progrium-private/ec2_cert.pem /tmp/cert
|
|
||||||
s3cmd -c .s3cfg get s3://progrium-private/ec2_pk.pem /tmp/pk
|
|
||||||
mkdir -p ~/.ssh
|
|
||||||
s3cmd -c .s3cfg get s3://progrium-private/test.pem ~/.ssh/id_rsa
|
|
||||||
chmod 600 ~/.ssh/id_rsa
|
|
||||||
ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
|
|
||||||
Reference in new issue
Block a user