I am trying to setup keybased authentication between Arch Linux and Ubuntu. Both OS are virtual installations(I know this doesnt matter but just FYI).
I have generated ssh key's with default options by using
ssh-keygen command on both Arch and Ubuntu machines, And then copied public keys with
I am able to login from Arch machine to Ubuntu machine successfully.
[raja@archserver ~]$ ssh email@example.com Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-57-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage 0 packages can be updated. 0 updates are security updates. Last login: Tue Jan 10 16:30:51 2017 from 192.168.106.1 sniper@openstackm1:~$
But I am unable to login via key-based authentication from Arch machine to Ubuntu machine and when I tried I am getting prompt for password. I havent done any modifications to both sshd_config files but Ubuntu accepting but Arch doesnt.
sniper@openstackm1:~$ ssh jboss@archserver jboss@archserver's password: