Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 03:24:09 +0300
From:      zhuravlev alexander <zaa@ulstu.ru>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Restarting a service
Message-ID:  <20020114032409.A13036@ulstu.ru>
In-Reply-To: <01c901c19c8d$5b08a6e0$0401a8c0@Hewey>
References:  <CMEKLCBLMIJBADIJEKFAOEDMCDAA.patrick_oreilly@mweb.co.za> <01c901c19c8d$5b08a6e0$0401a8c0@Hewey>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 13, 2002 at 06:52:26PM -0500, Allen May wrote:
> I have modified my sshd_config and want to restart the daemon without
> rebooting the computer. How do I restart the SSHD?
> In Mandrake Linux I can restart a daemon/service, like SSH or Apache by
> doing the following:
>      /etc/init.d/httpd restart OR /etc/init.d/sshd restart
> 
> How do I do the equivelent in FreeBSD?

	ps -auxww | grep sshd -you will find PID of ssh daemon
	then simple 
		kill -HUP PID(which you get from prev step) 

> 
> Thanks
> 
> -Allen
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
Журавлев Александр
 Ц Т К  У л Г Т У
email:zaa@ulstu.ru

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020114032409.A13036>