close nav

close nav

Thread: While launching Ubuntu from Command promate throws error

Forum : Linux/Unix   8 Days ago
User Image
Jayababu21

Newbie

Joined: 3 Apr, 2021

Points: 100

Threads: 1

Posts: 0

While launching Ubuntu from Command promate throws error

| Quote Date : 3 May, 2021    Views:104    

Hi All,
I am facing this below error
ssh: Could not resolve hostname public: No such host is known.
I kept pem file under .ssh folder
I ran command below command
C:\Users\$USERNAME>ssh -i c:\Users\$USERNAME\.ssh\UbuntuKey.pem ubuntu@public ip
Kindly help for this. Thanks

tags: linux

Comments

User Image
Sriman

Contributor

Joined : 15 Jul, 2016

Points : 1820

Threads: 1911

Posts: 292

Re: While launching Ubuntu from Command promate throws error

Reply Date : 7 May, 2021

Can you cross check are you using the public ip address or not, I guess you are using dns name or private ip. and make sure your internet connection is stable.

Load More

No More Comments