Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: reloading ssh while setting up a server

  1. #21
    Join Date
    Jan 2012
    Beans
    13

    Re: reloading ssh while setting up a server

    Code:
    bash: kill: (1548) no such process

  2. #22
    Join Date
    Jan 2012
    Beans
    15

    Re: reloading ssh while setting up a server

    If sudo service start gives you
    Code:
    ssh start/running, process 1548
    and you don't have a process 1548, that doesn't make sense.

    do

    Code:
    ps aux | grep sshd


    Do you get a line something like this?

    Code:
    root       938  0.0  0.8   5552  2128 ?        Ss   19:28   0:00 /usr/sbin/sshd -D
    Matt

  3. #23
    Join Date
    Jan 2012
    Beans
    13

    Re: reloading ssh while setting up a server

    It gives me:

    Code:
    root     17396  0.0  0.2   6296   592 hvc0     S+   02:02   0:00 grep --color=auto sshd
    "sshd" is printed in red, if that matters

  4. #24
    Join Date
    Jan 2012
    Beans
    15

    Re: reloading ssh while setting up a server

    If that is the only line it gives you back then ssh server is not running.

    You are running this command on the actual Ubuntu Server right?

    Matt

  5. #25
    Join Date
    Jan 2012
    Beans
    13

    Re: reloading ssh while setting up a server

    Yes, I'm running all of these commands on the Ubuntu server, not on my local terminal.

  6. #26
    Join Date
    Feb 2009
    Beans
    Hidden!

    Re: reloading ssh while setting up a server

    Your ssh must be starting then something is causing it to stop

    Run ssh in debug mode

    sudo service ssh stop
    sudo /usr/sbin/sshd -d

    Any errors from the second command?

Page 3 of 3 FirstFirst 123

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
  •