- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sftp logging
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2007 02:58 AM
тАО09-07-2007 02:58 AM
sftp logging
How to configure sftp to log all files recieved/transmitted by sftp-server (similar to ftpd -o -i options)?
HP-UX 11.23, A.04.30.007 HP-UX Secure Shell
Thank you,
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2007 04:09 AM
тАО09-07-2007 04:09 AM
Re: sftp logging
sftp -oLogLevel=VERBOSE
I didn't look up VERBOSE to see if that will provide what you are looking for but if you check the man pages on sftp and ssh_config you can probably find what you are looking for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2007 11:00 PM
тАО09-09-2007 11:00 PM
Re: sftp logging
#ssh -V
OpenSSH_4.4p1-hpn12v11, OpenSSL 0.9.7l 28 Sep 2006
HP-UX Secure Shell-A.04.40.006, HP-UX Secure Shell version
In "sshd_config" set this option:
Subsystem sftp /opt/ssh/libexec/sftp-server -f LOCAL1 -l INFO
Restart "sshd" daemon.
rgs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2007 11:17 PM
тАО09-09-2007 11:17 PM
Re: sftp logging
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2007 05:30 AM
тАО09-10-2007 05:30 AM
Re: sftp logging
In ssshd_config I specified:
LogSftp yes
#SftpLogFacility AUTH
#SftpLogLevel INFO
But all I see in syslog.log is "Subsystem request for sftp".
Apparently the "-f" option does not work with the configuration file that I have.
Thanks,
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2007 07:16 AM
тАО09-10-2007 07:16 AM
Re: sftp logging
SftpLogLevel VERBOSE
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2007 07:37 AM
тАО09-10-2007 07:37 AM
Re: sftp logging
The same thing, no info about the file.
The bigger question is why I can not use the -f option.
I should use the -f option with my version of ssh:
coci160(root):/opt/ssh/etc > ssh -V
OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14, OpenSSL 0.9.7l 28 Sep 2006
HP-UX Secure Shell-A.04.50.004, HP-UX Secure Shell version
coci160(root):/opt/ssh/etc >
But if I copy the default file /opt/ssh/newconfig/opt/ssh/etc/sshd_config and add "-f" the ssh would not start at all.
I upgraded to this version by installing it on top of the older version of ssh as recommended in the installation instructions.
Thanks,
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2007 11:02 PM
тАО09-10-2007 11:02 PM
Re: sftp logging
# man 8 sftp-server
and verify sftplogin options
http://sftplogging.sourceforge.net/docs/installation.html
rgs,