Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Enabling SFTP log on Solaris

Solaris


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 07-08-2013
batas batas is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 23 July 2013, 1:37 PM EDT
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Enabling SFTP log on Solaris

Hi Guys,

Hope you can shed the light to this issue.

I have enabled SFTP logging on Linux this way and it works:

Quote:
Subsystem sftp /usr/libexec/openssh/sftp-server -l INFO
But trying this on Solaris it wont work, the ssh goes to maintenance in when checking with svcs.

The logs said a syntax error it doesn't recognize "-l"
Sponsored Links
    #2  
Old Unix and Linux 07-08-2013
DustinT DustinT is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 8 December 2014, 8:01 AM EST
Posts: 171
Thanks: 27
Thanked 19 Times in 19 Posts

Code:
man sftp

Sponsored Links
    #3  
Old Unix and Linux 07-23-2013
batas batas is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 23 July 2013, 1:37 PM EDT
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Man can't help Linux

sftp logging is not enabled on SOL 9 and SOL 10 but its now available on SOL 11
    #4  
Old Unix and Linux 07-23-2013
MadeInGermany MadeInGermany is offline Forum Advisor  
Registered User
 
Join Date: May 2012
Last Activity: 3 September 2015, 2:45 PM EDT
Location: Simplicity
Posts: 2,585
Thanks: 194
Thanked 790 Times in 714 Posts
You can enable logging on ssh level. Modify /etc/syslog.conf:

Code:
auth.info /var/log/auth

Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Enabling Solaris Audit log: Solaris 9 sumeet1806 Solaris 3 01-15-2013 06:12 AM
Enabling TFTP in Solaris 10 A.Salama Solaris 0 01-14-2013 11:18 AM
SFTP-how to log individual sftp command error while executing shell script noobrobot Shell Programming and Scripting 1 10-09-2011 07:17 PM
sftp log file udelalv AIX 1 03-11-2009 03:09 AM



All times are GMT -4. The time now is 11:49 PM.