diff options
author | Mofassir Arif <Mofassir_arif@dellteam.com> | 2015-12-17 03:48:42 -0800 |
---|---|---|
committer | Mofassir Arif <Mofassir_arif@dellteam.com> | 2015-12-17 03:48:42 -0800 |
commit | 390c1e3ca7f751fdfe6c7e9634d0d95ae6ba114f (patch) | |
tree | e441b0e2e83ac7da9830d23ce32756501232fbd1 /data | |
parent | 6737007d817e62567cbcdaca598f4b1ffa915463 (diff) |
Script to modify key file permissions
I have added a script to change the file permissions of the
key files to 600 so that they can be used by the ssh agent
The duration of the sshtest has also been reduced to allow
the Jenkins Job to run/fail in a reasonable amount of time
Change-Id: I5446896619dfba3f3efb600b64628343d6378164
Signed-off-by: Mofassir Arif <Mofassir_arif@dellteam.com>
Diffstat (limited to 'data')
-rwxr-xr-x | data/file_permission.sh | 3 | ||||
-rw-r--r-- | data/hosts | 7 | ||||
-rw-r--r-- | data/my_key.pem | 27 |
3 files changed, 33 insertions, 4 deletions
diff --git a/data/file_permission.sh b/data/file_permission.sh new file mode 100755 index 00000000..01a77d50 --- /dev/null +++ b/data/file_permission.sh @@ -0,0 +1,3 @@ +#! /bin/bash +chmod 0600 data/QtipKey +chmod 0600 data/QtipKey.pub @@ -1,4 +1,3 @@ -[2-host] -172.18.0.121 -[1-server] -172.18.0.122 +[host] +172.18.0.94 +172.18.0.93 diff --git a/data/my_key.pem b/data/my_key.pem new file mode 100644 index 00000000..d0ffddcd --- /dev/null +++ b/data/my_key.pem @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpQIBAAKCAQEAyxp8dUvXD1fcnrPWVQzJnCZS+je+YU+wYkLzSd6JS2ItjYLk +H752IUznHJdhc55TC1LPcj0jje0cJb/iCaxaAODvJX0xBHQc8X99oGc4zC3jJEuQ +6L+ERDLOmBwkI/hRDpoch4PIQsgKQDNsQUq5l4gHi54u9Ubykjynxp8YcN/p60y6 +I8RLEkDKlOK4rBwAp+P7/5CM5ElhU9vpDEqqVjOKoxY1oU7KFWrgIsLwuemd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