Results 1 to 7 of 7

Thread: If I don't have /etc/init.d/ssh then I have no ssh ???

  1. #1
    Join Date
    Dec 2005
    Location
    Montreal, canada
    Beans
    376
    Distro
    Ubuntu 8.10 Intrepid Ibex

    If I don't have /etc/init.d/ssh then I have no ssh ???

    I am currently following the AdvancedOpenSSH and when I wanted to restart sshd, I got this :

    > sudo /etc/init.d/ssh restart
    sudo: /etc/init.d/ssh: command not found

    I thought I had done a mistake and went to LS that ssh file but did not find any ss* files at /etc/init.d

    So does this mean I have no ssh service running ? I am confused.
    Desktop: I5-2500 on a Z77 MB, 16Gb memory, GTX-570
    Windows-7 (trying to add Ubuntu 12.04 LTS)

  2. #2
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,792

    Re: If I don't have /etc/init.d/ssh then I have no ssh ???

    Probably sshd

    as in:
    sudo /etc/init.d/sshd restart

    Cheers,

    Herman

  3. #3
    Join Date
    Dec 2005
    Location
    Montreal, canada
    Beans
    376
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: If I don't have /etc/init.d/ssh then I have no ssh ???

    Quote Originally Posted by HermanAB View Post
    Probably sshd

    as in:
    sudo /etc/init.d/sshd restart

    Cheers,

    Herman
    I did point out that I have no /etc/init.d/ss* files at all

    so doing sudo /etc/init.d/sshd restart just prints out
    sudo: /etc/init.d/sshd: command not found
    Desktop: I5-2500 on a Z77 MB, 16Gb memory, GTX-570
    Windows-7 (trying to add Ubuntu 12.04 LTS)

  4. #4
    Join Date
    Oct 2006
    Location
    SLC, UofU
    Beans
    684
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: If I don't have /etc/init.d/ssh then I have no ssh ???

    The implication is that you don't have an ssh Server installed, or at least not a startup script for one. If you installed openssh-server, then it *should* be there.
    --Superb--

  5. #5
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: If I don't have /etc/init.d/ssh then I have no ssh ???

    By default only the ssh client is installed and it doesn't need a deamon in /etc/init.d. If you have installed openssh-server then you should have /etc/init.d/ssh

    Jim

  6. #6
    Join Date
    Aug 2011
    Beans
    5

    Re: If I don't have /etc/init.d/ssh then I have no ssh ???

    I am having this same trouble on Ubuntu 11.04. I *do* have openssh installed, but I do not have any file named /etc/init.d/sshd. How can I generate a new version of that file? Rebooting did not succeed in doing this.

  7. #7
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: If I don't have /etc/init.d/ssh then I have no ssh ???

    Quote Originally Posted by spearsem View Post
    I am having this same trouble on Ubuntu 11.04. I *do* have openssh installed, but I do not have any file named /etc/init.d/sshd. How can I generate a new version of that file? Rebooting did not succeed in doing this.
    You do realize that :

    1. You are posting on a thread that is close to 3 years old ?

    2. Ubuntu uses Upstart ?

    3. Look in /etc/init

    If you still require assistance start a new thread and please explain your problem and what you are wanting to do in more detail.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

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
  •