Enabling SFTP log on Solaris | Unix Linux Forums | Solaris

  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 Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 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 07-08-2013
DustinT DustinT is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 11 July 2014, 1:45 PM EDT
Posts: 170
Thanks: 27
Thanked 19 Times in 19 Posts

Code:
man sftp

Sponsored Links
    #3  
Old 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

sftp logging is not enabled on SOL 9 and SOL 10 but its now available on SOL 11
    #4  
Old 07-23-2013
MadeInGermany MadeInGermany is online now Forum Advisor  
Registered User
 
Join Date: May 2012
Last Activity: 29 July 2014, 4:20 AM EDT
Posts: 1,795
Thanks: 108
Thanked 512 Times in 465 Posts
You can enable logging on ssh level. Modify /etc/syslog.conf:

Code:
auth.info /var/log/auth

Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 04:41 AM.