# 0. Generate SSH key on Ubuntu for user ubuntu
ssh-keygen
cat ~/.ssh/id_rsa.pub
# 1. login into vyatta using vyos/vyos
# 2. issue 'show interface ethernet', and look at 'External' virtual switch (mine is 192.168.1.15)
# 3. enable SSH service on vyatta, and add SSH public key of user ubuntu (step 0) into vyos:
configure
set service ssh
set system login user ubuntu authentication public-keys identifier key "<AAAAB3Nz....>"
set system login user ubuntu authentication public-keys identifier type ssh-rsa"
commit
save
# Test SSH from your ubuntu
ssh vyos@192.168.1.15
ansible -m ping all