- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sftp logs to be rerouted
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
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
тАО06-24-2009 01:22 AM
тАО06-24-2009 01:22 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 04:12 AM
тАО06-24-2009 04:12 AM
SolutionCheck for SyslogFacility in the following link:
http://docs.hp.com/en/5992-4213/5992-4213.pdf
On my machine syslogfacility is disabled which bydefault sets to AUTH.
# grep -i syslo /opt/ssh/etc/sshd_config
#SyslogFacility AUTH
You may put entry like below in /opt/ssh/etc/sshd_config:
SysLogFacility LOCAL6
In /etc/syslog.conf add the following:
local6.notice /var/log/sftp
Restart the sshd daemon and it should log notice messages to /var/log/sftp.
Cheers!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 04:46 AM
тАО06-24-2009 04:46 AM
Re: sftp logs to be rerouted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 05:19 AM
тАО06-24-2009 05:19 AM
Re: sftp logs to be rerouted
First you have to ensure that nothing else is set up to use the LOCAL6 facility.
Then the local6 facility must be excluded from the syslog.log loging by adding the local6.none in the syslog.log line in the syslog.conf file. Otherwise you end up with dual logging in both the syslog.log and the /var/log/sftp file.
The /var/log/sftp file is not an HP-UX standard. There is nothing wrong with using it but it would be more appropriate to use /var/adm/syslog/sshd.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 05:56 AM
тАО06-24-2009 05:56 AM