[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 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 
through ssh.

As for making it the console device: I don't believe it is possible.
This is set at boot time.

Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend

Reply to: