ssh - Vagrant prompting for password without using key -
i running vagarant using chef. when running vagrant up. creating instance after prompting password. should login ssh key
i have granted
chmod 0700 ~/.ssh/.ssh chmod 0600 ~/.ssh/.ssh/authorized_keys root@system-desktop:/home/system/documents/dsrv169# vagrant --version vagrant 1.6.5 config.vm.provider :digital_ocean |provider, override| override.ssh.private_key_path = '~/.ssh/id_rsa' override.vm.box = 'digital_ocean' root@system-desktop:/home/system/documents/dsrv168# vagrant ssh-config host default hostname 45.55.239.147 user root port 22 userknownhostsfile /dev/null stricthostkeychecking no passwordauthentication no identityfile /root/.ssh/id_rsa identitiesonly yes loglevel fatal
may know required do
it's owner , group permission issue. after issuing chown worked normally.
Comments
Post a Comment