Operating System - HP-UX
1825775 Members
2349 Online
109687 Solutions
New Discussion

Re: sshd_config LogSftp error

 
Susik
Advisor

sshd_config LogSftp error

Hi all! Problem in soft Secure Shell for HP-UX 11.11

Soft
T1471AA A.04.40.006 HP-UX Secure Shell
OS
HP-UX B.11.11 U 9000/800
TRABL
add /opt/ssh/etc/sshd_config options
LogSftp yes
SftpLogLevel DEBUG
restart secure shell, result is error
ERROR
[root@servant]# => ./secsh start
/opt/ssh/etc/sshd_config: line 34: Bad configuration option: LogSftp
/opt/ssh/etc/sshd_config: line 35: Bad configuration option: SftpLogLevel
/opt/ssh/etc/sshd_config: terminating, 2 bad configuration options
EXIT CODE: 255
============================================
AND!
SOFT
T1471AA A.04.30.007 HP-UX Secure Shell
OS
HP-UX B.11.23 U ia64
add /opt/ssh/etc/sshd_config options
LogSftp yes
SftpLogLevel DEBUG
restart secure shell, result is OK!!!!
=================================
Psl HELP!
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: sshd_config LogSftp error

Shalom,

sshd does not like the syntax of your attempt to turn on debugging.

The line numbers it has trouble with are indicated. Back them out and try again.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Susik
Advisor

Re: sshd_config LogSftp error

I need this option, and this syntax is good.
This syntax it works in soft version "T1471AA A.04.30.007 HP-UX Secure Shell"
You have other ideas???
""""SftpLogLevel
Use this directive to specify the verbosity level to be used when logging messages from sftp
server. Table A-3 lists the valid values for the SftpLogLevel directive.
Server Configuration Directives 93
Table A-3 SftpLogFacility Values
Description Value
Does not log messages. The messages are not displayed on the standard
output.
DEBUG
Specifies a higher degree of debug level than DEBUG. Specifying debug1 is
similar to specifying d or v on the command line while invoking sshd.""""


I`am comment options #SftpLogLevel DEBUG
and restart secure shell.
Results-error:
./secsh start
/opt/ssh/etc/sshd_config: line 34: Bad configuration option: LogSftp
/opt/ssh/etc/sshd_config: terminating, 1 bad configuration options
EXIT CODE: 255

Ivan Krastev
Honored Contributor

Re: sshd_config LogSftp error

See new changes in this version :


http://docs.hp.com/en/5991-7517/ch01s04.html#babdedcf


regards,
ivan
Susik
Advisor

Re: sshd_config LogSftp error

Ok,big thanks