[vox-tech] an answer to X11 forwarding with ssh2
Mark K. Kim
vox-tech@lists.lugod.org
Sat, 8 Feb 2003 21:50:24 -0800 (PST)
Or, sometimes you can tell a daemon to re-read the configuration file by
sending it a HUP signal:
killall -HUP <daemon_binary_name>
-Mark
On Sat, 8 Feb 2003, Henry House wrote:
> On Sat, Feb 08, 2003 at 02:41:32PM -0800, Robin Snyder wrote:
> > A while back, I posted a question about not being able to forward X11 over
> > ssh2--the display wasn't getting set. The answer is:
> >
> > 1. I didn't know that sshd had its own config file, sshd_config, which
> > also has a forward X11 yes/no setting, and
> >
> > 2. sshd does not get reset when you log out, only when you reboot (or
> > stop and restart ssh with something like /etc/init.d ssh stop and
> > /etc/init.d/ssh start). Fixing the config file and logging back in again
> > won't cut it.
>
> That is common for daemons. You can start and stop all daemons (in Debian)
> using one command: "/etc/init.d/<program name> restart".
>
> --
> Henry House
> The attached file is a digital signature. See <http://romana.hajhouse.org/pgp>
> for information. My OpenPGP key: <http://romana.hajhouse.org/hajhouse.asc>.
>
--
Mark K. Kim
http://www.cbreak.org/
PGP key available upon request.