Results 1 to 3 of 3

Thread: [SOLVED] ssh login ?

  1. #1
    Join Date
    Apr 2007
    Location
    South Carolina
    Beans
    886
    Distro
    Ubuntu Studio 16.04 Xenial Xerus

    [SOLVED] ssh login ?

    What am I missing?
    I can login to my computers tied to my router using the ip no. but I can't if I use the computer name.

    Code:
     ssh gary@192.168.1.101
    gets me in to computer host name " music-desktop "
    but:
    Code:
     ssh gary@music-desktop
    returns : name or service not known
    Gary

    A wise man knows what he doesn't know.

  2. #2
    Join Date
    Jul 2005
    Location
    Stockport, UK
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: ssh login ?

    That's because your pc doesn't know the IP address of music-desktop.

    You'd need to edit you /etc/hosts file to do that and add the IP address and name of the other pc.


  3. #3
    Join Date
    Apr 2007
    Location
    South Carolina
    Beans
    886
    Distro
    Ubuntu Studio 16.04 Xenial Xerus

    Re: ssh login ?

    Quote Originally Posted by AndyCooll View Post
    That's because your pc doesn't know the IP address of music-desktop.

    You'd need to edit you /etc/hosts file to do that and add the IP address and name of the other pc.

    Thanks,

    That did the trick
    Gary

    A wise man knows what he doesn't know.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •