Skip to content

Commit

Permalink
assure ssh config
Browse files Browse the repository at this point in the history
  • Loading branch information
szachovy committed Jun 22, 2024
1 parent 8d4a0bb commit 15149cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ resource "null_resource" "manage_ssh" {
command = <<-EOT
ssh-keygen -t rsa -b 2048 -f id_rsa -N ''
chmod 600 id_rsa.pub
[ -f $HOME/.ssh/config ] || mkdir --parents $HOME/.ssh && touch $HOME/.ssh/config
echo "### Terraform autogenerated content start ###" >> $HOME/.ssh/config
EOT
}
Expand Down

0 comments on commit 15149cd

Please sign in to comment.