I have 2 Ubuntu virtual machines on same network with Internal network cards. Both machines can ping each other. both have port TCP/22 open for ssh. I can't SSH either one from each other. Error I get is permission denied (Public key, Password). When I turn password authentication off and even when I turn PasswordProtection, PubKeyAuthentication, RSA Authentication to 'NO', I get permission denied () error.

Transferring keys get the same error.

  • Do you have openssh-server installed on both? – Mostafa Ahangarha Apr 24 '17 at 12:43
  • can you add debug log ? (ssh -vvv from one host ) – Nadav Mavor Apr 24 '17 at 13:57

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.