ssh question

R Kimber richardkimber at btinternet.com
Tue Oct 4 14:26:15 UTC 2016


On Tue, 04 Oct 2016 16:12:34 +0200
Oliver Grawert wrote:

> hi,
> On Di, 2016-10-04 at 15:03 +0100, R Kimber wrote:
> > 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?  
> 
> you simply can not since name resolution isnt a ssh thing (it happens a
> layer below in the OSI model) ... 
> 
> what you can do is to simply add your device to /etc/hosts on your
> desktop ...
> 
> or if max2play supports something like avahi/bonjour, you could enable
> annd configure that and use "ssh max2play.local" 
> 
> ciao
> 	oli

Many thanks.

- Richard
-- 
Richard Kimber





More information about the ubuntu-users mailing list