Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anonymous SSH
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
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Thu Sep 07, 2006 5:03 pm    Post subject: Anonymous SSH Reply with quote

Does anyone have a script to clean up log files when a user logs in via ssh? I dont want my box to do any logging for a paticular ssh account when a user logs in or logs out. I dont know if i can exclude only one account from logging or if i need to put a script in to remove enterys for that user in the logs when they login and out. I know this is shady business but I would like a totally anonymous account. Any ideas?
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Thu Sep 07, 2006 5:41 pm    Post subject: Reply with quote

If you use syslog-ng as logger you could define an appropriate filter statement which matches on anything 'program sshd' + (inside msg text) 'username'.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Thu Sep 07, 2006 5:50 pm    Post subject: Reply with quote

Using klogd.
Back to top
View user's profile Send private message
Zepp
Veteran
Veteran


Joined: 15 Mar 2004
Posts: 1246
Location: Ontario, Canada

PostPosted: Thu Sep 07, 2006 6:15 pm    Post subject: Reply with quote

Why? I just have to ask, as I can't think of what legit application/purpose this would serve?

Last edited by Zepp on Thu Sep 07, 2006 10:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
rullzer
n00b
n00b


Joined: 25 Apr 2006
Posts: 46
Location: Amsterdam Netherlands

PostPosted: Thu Sep 07, 2006 9:15 pm    Post subject: Reply with quote

Indeed what is the point. I mean you trust some users. But also trusted and advanced users can fuck with your system. By acident or on purpose. Always good to have logs in case something goes bad...
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Fri Sep 08, 2006 1:52 am    Post subject: Reply with quote

purely anonymous ssh tunnel to an offsite server.
Back to top
View user's profile Send private message
Zepp
Veteran
Veteran


Joined: 15 Mar 2004
Posts: 1246
Location: Ontario, Canada

PostPosted: Fri Sep 08, 2006 4:11 am    Post subject: Reply with quote

I assume you have root on this box, if you are able to change ssh logs, so whats the need to be annonymous :P
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 660
Location: Los Angeles

PostPosted: Fri Sep 08, 2006 6:07 am    Post subject: Reply with quote

yes of course... if i was tring to comprimise it i would already know how to do this =P
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