[X-Unix] How do I restart the ssh daemon?

Phil Ershler ershler at cvrti.utah.edu
Fri Mar 5 15:24:40 PST 2004


The ssh daemon does not run all the time. It is started as needed by the
xinetd - the extended Internet services daemon.

buzz:/ admin$ cd /etc/xinetd.d
buzz:/etc/xinetd.d admin$ ls
auth            comsat          echo-udp        ftp             ntalk   
         smbd            tftp
bootps          daytime         eppc            ftp.darwin      
printer.bak     ssh             time
chargen         daytime-udp     exec            login           shell   
         swat            time-udp
chargen-udp     echo            finger          nmbd            
smb-direct      telnet
buzz:/etc/xinetd.d admin$ cat ssh
service ssh
{
         disable         = no
         socket_type     = stream
         wait            = no
         user            = root
         server          = /usr/libexec/sshd-keygen-wrapper
         server_args     = -i
         groups          = yes
         flags           = REUSE IPv6
         session_create  = yes
}

See man xinetd for details.

HTH,

Phil

On Mar 5, 2004, at 3:57 PM, Doug McNutt wrote:

> At 14:09 -0800 3/5/04, Marley Graham wrote:
>> It should be sshd, not ssd; is that what you tried?
>> On Mar 5, 2004, at 1:02 PM, Our Pal Al wrote:
>>> Toggling Remote Login in the System Preferences UI isn't working. I 
>>> then
>>> killed the sshd processes on the command line and thought just a 
>>> 'sudo
>>> /usr/bin/ssd' would work to restart it, but no dice.
>
> I thought of that too but couldn't find /usr/bin/sshd
>
> It turns out that it is in
>
> /usr/sbin/sshd
>
> -- 
> --> Marriage and kilo are troubled words. Turmoil results when 
> centuries-old usage is altered in specialized jargon <--.



More information about the X-Unix mailing list