as long as the hyper-v is ready, log in and run
sudo su
sudo apt update
then try to connect ...
that solution that worked for me.
Success!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All
I installed Ubuntu 20.0 on my Hyper-V VM on my Laptop but unable to do SSH using Putty from the same Windows 10 Laptop. What settings can I check though I'm able to ping the VM successfully.
With Regards,
Subhankar
as long as the hyper-v is ready, log in and run
sudo su
sudo apt update
then try to connect ...
that solution that worked for me.
Success!
Hi,
Thank you very much for the sharing and we're glad the problem is solved now.
Hope others facing the same situation will benefit from this thread. Here's a short summary for the problem.
Problem/Symptom:
\=========================
Platform: Windows 10, Ubuntu 20.04
Problem details:
installed Ubuntu 20.04 on Hyper-V VM on my Laptop but unable to do SSH using Putty from the same Windows 10 Laptop
Analysis/Possible Cause:
\=========================
OpenSSH server is NOT installed by default for Ubuntu/Debian based distribution.
We can verify this via the following command:
ps -e | grep sshd
Solution/Workarounds:
\=========================
install openssh server
sudo apt install openssh-server
Reference:
\=========================
N/A
If you have any questions in future, we warmly welcome you to post in this forum.
Have a nice day!
Regards,
Alex
If the response is helpful, please click "Accept Answer" and upvote it.
I installed OpenSSH on the Ubuntu OS and it worked. :)
Thanks