Hello Vivek,
unfortunately you can't. Outgoing connectivity is not something that is logged 
by default, on pretty much any Linux system.

For the future, you could setup iptables rules in the OUTPUT chain, to log 
packets with --dport ssh --state new .

Cheers,
  Sergio

On 3 Mar 2014, at 06:16, vivek chalotra 
<[email protected]<mailto:[email protected]>> wrote:

Hello all,

I want to see ssh logs of the past few days from my system to a particular 
system outside our network. I looked into /var/log/secure but it does not 
contain outgoing logs. How to do that. Its urgent, any help would be 
appreciated.

Regards
Vivek Chalotra

--
 Sergio Ballestrero  - http://physics.uj.ac.za/psiwiki/Ballestrero
 University of Johannesburg, Physics Department
 ATLAS TDAQ sysadmin team - Office:75282 OnCall:164851




Reply via email to