Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
n00b 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
jvfarr
n00b
n00b


Joined: 01 Mar 2005
Posts: 12

PostPosted: Wed Mar 02, 2005 3:55 am    Post subject: n00b ssh Reply with quote

Okay, sorry to ask such a n00b question but where is the default location of the logs for ssh?
Back to top
View user's profile Send private message
freebies_11
n00b
n00b


Joined: 09 Dec 2004
Posts: 36

PostPosted: Wed Mar 02, 2005 4:20 am    Post subject: Reply with quote

/var/log/messages?
Back to top
View user's profile Send private message
jvfarr
n00b
n00b


Joined: 01 Mar 2005
Posts: 12

PostPosted: Wed Mar 02, 2005 8:47 am    Post subject: Reply with quote

Okay, what I meant to say was how do I change where the log is at, instead of the default, I wanna be able to have ssh write it's logs to /var/logs/sshd.log anyone know how to do that?
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Wed Mar 02, 2005 11:29 am    Post subject: Reply with quote

jvfarr wrote:
Okay, what I meant to say was how do I change where the log is at, instead of the default, I wanna be able to have ssh write it's logs to /var/logs/sshd.log anyone know how to do that?


My ssh logs are in /var/log/sshd/

Best,

Alex
Back to top
View user's profile Send private message
expat_iain
Guru
Guru


Joined: 09 Jan 2004
Posts: 361
Location: Malta GC

PostPosted: Wed Mar 02, 2005 11:49 am    Post subject: Reply with quote

In /etc/ssh/sshd_config you should find the following:
Code:
# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

Then you can modify those and play around with the settings in /etc/syslog.conf to specify destination log files.

Regs.

Iain.
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