Operating System - HP-UX
1752843 Members
3536 Online
108789 Solutions
New Discussion

Re: File Transfer via SCP or SFTP

 
chindi
Respected Contributor

File Transfer via SCP or SFTP

Is it possible to configure logging on an Integrity HPUX 11.23 box to show which user transferred which files in what location to/from the server or is this information all encrypted and therefore unloggable?

2 REPLIES 2
chindi
Respected Contributor

Re: File Transfer via SCP or SFTP

Hi ,

 

Tried below thing ;

 

sshd_config

SyslogFacility LOCAL3
LogLevel INFO

 

local3.info /var/adm/syslog/ssh.log 

 

Started sshd,syslog .

Still not working 

chindi
Respected Contributor

Re: File Transfer via SCP or SFTP

Hi guys ,

 

After trying local7 & debug options in sshd_config & syslog.conf ,

am able to get following o/p ;

 


Sep 24 15:27:19 eklavya sshd[5791]: debug1: do_pam_account: called
Sep 24 15:27:19 eklavya sshd[5797]: debug1: PAM: establishing credentials
Sep 24 15:27:19 eklavya sshd[5797]: debug1: permanently_set_uid: 271/122
Sep 24 15:27:19 eklavya sshd[5797]: debug1: Entering interactive session for SSH2.
Sep 24 15:27:19 eklavya sshd[5797]: debug1: server_init_dispatch_20
Sep 24 15:27:19 eklavya sshd[5797]: debug1: server_input_channel_open: ctype session rchan 0 win 65536 max 16384

Its total debug o/p , what i want is only file details that were scp'd from and to user.