Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Logs for scp and ssh connections?
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
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Wed Jun 04, 2003 3:49 am    Post subject: Logs for scp and ssh connections? Reply with quote

Is there any standard system of logging where I can review who has connected to the system via ssh, and from what IP address? Can this also be used for scp connections?
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
Diezel
l33t
l33t


Joined: 04 Feb 2003
Posts: 600
Location: Karjaa, Finland

PostPosted: Wed Jun 04, 2003 4:17 am    Post subject: Reply with quote

Depends on the system log deamon I guess. In sysklogd I have the logs in
/var/log/access_log
Code:
#tail access_log -n 200
Shows the last 200 log lines.
_________________
A bus station is where a bus stops, a train station is where a train stops. On
my desk I have a work station..
Nixadmins.net
FLUG member 473
Back to top
View user's profile Send private message
paranode
l33t
l33t


Joined: 06 Mar 2003
Posts: 679
Location: Texas

PostPosted: Wed Jun 04, 2003 1:33 pm    Post subject: Reply with quote

And in metalog they are in /var/log/sshd/
_________________
Meh.
Back to top
View user's profile Send private message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Thu Jun 05, 2003 2:15 am    Post subject: Reply with quote

hmm.. i suppose it would have helped to have the metalog daemon running...


... should be all good now. Thanks for the help, guys.
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Jun 05, 2003 5:34 pm    Post subject: Reply with quote

Moved from Other Things Gentoo.
_________________
Quis separabit? Quo animo?
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