Skip to content

Commit 914e82e

Browse files
author
Brian Fitzwater - IDI-C
authored
Merge pull request #13 from GSA/fix_public_key
Fixes format of public key
2 parents dde7f32 + 980e817 commit 914e82e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

files/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ chmod 400 ~/.ssh/current_id_rsa
1717
chmod 400 ~/.ssh/previous_id_rsa
1818
eval $(ssh-agent)
1919
ssh-add ~/.ssh/current_id_rsa ~/.ssh/previous_id_rsa
20-
ssh-keygen -l -f ~/.ssh/current_id_rsa > ~/.ssh/current_id_rsa.pub
21-
ssh-keygen -l -f ~/.ssh/previous_id_rsa > ~/.ssh/previous_id_rsa.pub
20+
ssh-keygen -y -f ~/.ssh/current_id_rsa > ~/.ssh/current_id_rsa.pub
21+
ssh-keygen -y -f ~/.ssh/previous_id_rsa > ~/.ssh/previous_id_rsa.pub
2222

2323
# aws s3 cp --region ${region} s3://${bucket}/files/python-xmltodict-0.9.0-1.el7.noarch.rpm python-xmltodict-0.9.0-1.el7.noarch.rpm
2424
# rpm -i /tmp/python-xmltodict-0.9.0-1.el7.noarch.rpm

0 commit comments

Comments
 (0)