Forward System Messages to SSH
On Mon, Mar 09, 2009 at 08:26:59PM -0700, Stephan wrote:
> Hi Folks,
> A quick (and hopefully simply answered because I must have missed
> something) question.
> Now and then, messages are output to the tty display, such as USB
> devices being plugged in, etc. Is there a way to have those messages
> sent to an SSH terminal? I'm using OpenSSH.
You could theoretically send syslog messages. See /etc/syslog.conf (or
whatever configuration you use for rsyslog). However the problem is that
you can't tell in advance what terminal device you'll get when logging in
As for making it the console device: I don't believe it is possible.
This is set at boot time.
Tzafrir Cohen | email@example.com | VIM is
http://tzafrir.org.il | | a Mutt's
firstname.lastname@example.org | | best
ICQ# 16849754 | | friend
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com