Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOW?] log console_all to a ssh session
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
radulucian
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 151
Location: Bucharest Romania

PostPosted: Tue Feb 03, 2004 11:03 pm    Post subject: [HOW?] log console_all to a ssh session Reply with quote

i am using syslog-ng.
the computer is administered only by remote ssh
it would be really nice if i could somehow connect to ssh in a separate session where i would receive all the "messages" that would normally be sent to tty12.

so instead of
Code:
destination console_all ( file ("dev/tty12"); );


i would have something that would direct console_all to ssh session that is somehow identified as a "logging" device (how do you that?)

i would go for any alternative solution but keep in mind that i am using windows on my end. any sugestion or idea would be apreciated.
_________________
--------------------------
i am gen2 fan too
noone clicks links in the signature :D
--------------------------
Back to top
View user's profile Send private message
Jerri
Guru
Guru


Joined: 03 Apr 2003
Posts: 353

PostPosted: Wed Apr 13, 2005 2:05 am    Post subject: Reply with quote

Code:
destination console_all ( file ("dev/pts/0"); );


would this not work?
Back to top
View user's profile Send private message
radulucian
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 151
Location: Bucharest Romania

PostPosted: Fri Apr 22, 2005 9:46 am    Post subject: Reply with quote

i tried that, but it doesn't seem to work.
what could be the problem ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum