Andy Bavier | bcac96a | 2016-02-23 12:09:08 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | sudo apt-get update |
Andy Bavier | 7e58344 | 2016-03-01 13:12:08 -0500 | [diff] [blame] | 4 | sudo apt-get install -y software-properties-common git mosh dnsutils |
Andy Bavier | bcac96a | 2016-02-23 12:09:08 -0500 | [diff] [blame] | 5 | sudo add-apt-repository -y ppa:ansible/ansible |
| 6 | sudo apt-get update |
| 7 | sudo apt-get install -y ansible |
Andy Bavier | 7e58344 | 2016-03-01 13:12:08 -0500 | [diff] [blame] | 8 | [ -e ~/.ssh/id_rsa ] || ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa |
Andy Bavier | bcac96a | 2016-02-23 12:09:08 -0500 | [diff] [blame] | 9 | cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys |