Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    R&D + sshd: not@startup, please...

    Reply
    770Volt | # 1 | 2006-07-04, 05:37 | Report

    Hi everybody!
    After boot process the ssh daemon is up and running, ready to connect... ok, nothing strange, you say. I would like to start manually sshd, just because is a tool that I use not every 5 mins.
    How can I tell to OS2006 not to automatically start sshd at start?
    Should I change something in the /etc/init...., what exactly?
    Thanks for your help.

    Fulvio

    Edit | Forward | Quote | Quick Reply | Thanks

     
    BanditRider | # 2 | 2006-07-04, 14:18 | Report

    Hi Fulvio, I just tried this and it works:
    /etc/inittab shows the default runlevel to be 2 so to stop sshd from starting at boottime, remove S20ssh from /etc/rc2.d

    To start sshd when you want it, in xterm as root enter /etc/init.d/ssh start

    Edit | Forward | Quote | Quick Reply | Thanks

     
    770Volt | # 3 | 2006-07-05, 00:16 | Report

    Thanks, grazie!

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout