mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
fixing file permissions for ssh identity
This commit is contained in:
@@ -7,7 +7,7 @@ before_install:
|
||||
- "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"
|
||||
- "mkdir -p ~/.ssh && s3cmd -c .s3cfg get s3://progrium-private/test.pem ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa"
|
||||
env:
|
||||
global:
|
||||
- EC2_CERT=/tmp/cert
|
||||
|
||||
Reference in New Issue
Block a user