Fix ssh config

This commit is contained in:
Aleksandr Didenko 2016-06-16 14:28:16 +02:00
parent daf02e029c
commit ea5b40ae0e
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
ssh

View file

@ -20,7 +20,7 @@ sudo cp -a ~vagrant/custom.yaml /root/kargo/custom.yaml
# SSH keys and config # SSH keys and config
sudo rm -rf /root/.ssh sudo rm -rf /root/.ssh
sudo mv ~vagrant/ssh /root/.ssh sudo mv ~vagrant/ssh /root/.ssh
sudo echo -e 'Host 10.210.*\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile=/dev/null' >> /root/.ssh/config sudo echo -e 'Host 10.*\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile=/dev/null' >> /root/.ssh/config
sudo chown -R root: /root/.ssh sudo chown -R root: /root/.ssh
# Copy nodes list # Copy nodes list