LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2008, 11:06 PM   #1
AutoC
Member
 
Registered: Jan 2008
Posts: 30

Rep: Reputation: 15
command for ssh connections


Is there a linux command to view the ssh connections that have been made in the past to ure computer?
 
Old 12-04-2008, 11:16 PM   #2
Linux von Scratchen
LQ Newbie
 
Registered: Jun 2006
Location: orbiting around Saturn
Distribution: LFS, knoppix
Posts: 16

Rep: Reputation: 0
less /var/log/auth.log may show what you need. If it has too much crap, distill it down with:
grep sshd /var/log/auth.log | less

disclaimer: i'm no expert at this sorta stuff, but this is one thing that worked for me.
 
Old 12-05-2008, 12:21 AM   #3
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317
Blog Entries: 1

Rep: Reputation: 35
/var/log/secure
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unauthorized SSH connections ErrorBound Linux - Security 1 03-11-2007 03:25 PM
SSH doesn't accept connections basse- Linux - Software 1 05-23-2004 08:33 AM
Can I see ssh connections? bruno buys Linux - Networking 4 11-19-2003 03:46 PM
SSH is blocking my connections tarballedtux Linux - Security 8 11-01-2002 05:19 PM
SSH - Refused Connections bfloeagle Linux - Networking 6 08-31-2001 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration