Results 1 to 2 of 2

Thread: Connection refused even after installing openssh-server

  1. #1
    Join Date
    Jun 2015
    Beans
    2

    Connection refused even after installing openssh-server

    I have been spending the last 4 hours trying to get my VNC connection to work. Eventually, I realized it was because my Ubuntu remote host was unable to host SSH connections- even though I had already installed openssh-server.

    I then tried some basic tests to verify that sshd was working on my machine, and found that "ssh localhost" gives a "Connection refused on port 22" error. Also, "sudo service ssh start" and "sudo start ssh" both give a "start: Unknown job: ssh" error. I tried purging and reinstalling "openssh-server", but no luck. Why can't I receive clients?

    EDIT: When I try to connect via the local machines (the VNC viewers) they give me a "Connection timed out" error.

  2. #2
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Connection refused even after installing openssh-server

    Welcome.

    What version of openssh-server do you have installed?

    Code:
    apt-cache policy openssh-server
    And is the configuration file ok?

    Code:
    /usr/sbin/sshd -T

Tags for this Thread

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
  •