ssh question
R Kimber
richardkimber at btinternet.com
Tue Oct 4 14:03:38 UTC 2016
I have a raspberry pi that runs max2play. My router sees this device as
'max2play'. However if I try to ssh to it from my Ubuntu machine,
ssh root at max2play gives:
'Could not resolve hostname max2play: Name or service not known'
I can, of course connect using the IP address.
How do I configure ssh so that I can use the device's name? I tried
various suggestions.
ssh-keygen -R max2play, and ssh-keygen -R [IP]
seemed to work and update the known_hosts, but I still could not connect
(Name or service not known)
I tried
>ssh -o StrictHostKeyChecking=no root at max2play, but got
ssh: Could not resolve hostname max2play: Name or service not known
Is there a simple way of aliasing the IP address with the name?
- Richard
--
Richard Kimber
More information about the ubuntu-users
mailing list