- 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
Forums
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
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
тАО07-14-2004 10:10 PM
тАО07-14-2004 10:10 PM
does anyone know if HP-UX Secure Shell can log sftp file transfers? I want to write a script to check if a scheduled transfer was succesful or not. Currently this file transfer is handled by an application but its reporting is a bit flakey hence the need for the script.
Thanks in advance,
Nick
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2004 10:47 PM
тАО07-14-2004 10:47 PM
Re: SFTP Logging
subsystem reuqest for sftp
Accepted password for xxxxx from xx.xxx.xxx.xxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2004 10:52 PM
тАО07-14-2004 10:52 PM
Re: SFTP Logging
Jul 15 00:33:32 test sshd[15706]: Accepted password for root from x.x.x.x port 54282 ssh2
Jul 15 00:33:32 test sshd[15706]: subsystem request for sftp
We can run the sftp as a batch mode.
Start the sftp and log informations with tee or script command. It will be useful to log all informations.
We can use that to debug and to analyse the successful transfer.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2004 10:59 PM
тАО07-14-2004 10:59 PM
Re: SFTP Logging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2004 11:07 PM
тАО07-14-2004 11:07 PM
Re: SFTP Logging
From here:
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/openssh-3.7.1p2/
or
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2004 11:18 PM
тАО07-14-2004 11:18 PM
Re: SFTP Logging
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2004 11:49 PM
тАО07-14-2004 11:49 PM
Re: SFTP Logging
We can use resursive scp instead of sftp for file transfers. It is effective to analyse the tranfer success. It will state the problem and return type on the shell.
IF $? is 0 then it is successful;
else it is in problem and details will come to STDERR mode. Redirect it to a log file. Use the date command before and after to know the tranfer time or cause of error occured time.
See scp man page to know more. It will be heplful to you more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2004 12:52 AM
тАО07-16-2004 12:52 AM
Solutionhttp://sftplogging.sourceforge.net/
and
http://www.derkeiler.com/Mailing-Lists/securityfocus/Secure_Shell/2003-03/0014.html
As the 2nd link mentions, let the openssh team know you need sftp logging by writing to them at openssh@openssh.com. Also, use your standard support channels in HP to request that HP-UX Secure Shell add logging of sftp transactions, since HP might be more effective at getting the attention of the openssh team (and HP will need to be prepared to backport the patch if it ever becomes available).