Results 1 to 10 of 12

Thread: SSHd wont start after recent update.

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Beans
    14

    Re: SSHd wont start after recent update.

    Code:
    paine@pandora:~$ sudo service ssh start
    ssh stop/pre-start, process 15726
    paine@pandora:~$
    But I get "connection refused" from my clients (putty, filezilla, etc)

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: SSHd wont start after recent update.

    If you have console access, see if you can stop it then start it back up.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Nov 2007
    Beans
    14

    Re: SSHd wont start after recent update.

    A reboot seems to have solved the issue, but I just neutered a pretty good uptime

  4. #4
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: SSHd wont start after recent update.

    Been there, done that, got a t-shirt.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  5. #5
    Join Date
    Nov 2007
    Beans
    14

    Re: SSHd wont start after recent update.

    This problem cropped back up again. I really wish I didn't have to restart the system every time I make an SSH config change, does anyone know whats going on here?

  6. #6
    Join Date
    Nov 2007
    Beans
    14

    Re: SSHd wont start after recent update.

    Ok, I've logged in via console and completely purged ssh via "sudo apt-get --purge remove openssh-server" and then reinstalling it, same deal.

    Looks like seting up permanent console access via my host isnt the nightmare I thoguht it was going to be, and I can even ssh into the console. I'll just do that for now.

  7. #7
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: SSHd wont start after recent update.

    After you purge SSH, can you make sure that there is no directory here:

    Code:
    ls -ld /etc/ssh/
    I haven't had any problems with SSH and my system is up-to-date.

    Which version of Ubuntu are you using?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  8. #8
    Join Date
    Apr 2007
    Beans
    468
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: SSHd wont start after recent update.

    Quote Originally Posted by Chaosratt View Post
    This problem cropped back up again. I really wish I didn't have to restart the system every time I make an SSH config change, does anyone know whats going on here?
    get console access:

    run ps aux | grep ssh
    to make sure its all stopped. then try starting it...
    run tail -n 50 /var/log/auth.log
    anything there?

    if not then again make sure all stopped and run sshd -t
    does everything validate fine?

    if so run ssd -d -e

    then try to ssh in.
    anything throw up on the screen? if so save to a text file and paste in here.

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
  •