Operating System - HP-UX
1834435 Members
2374 Online
110067 Solutions
New Discussion

Re: sshdconfig file settings

 
SOLVED
Go to solution
wip
Frequent Advisor

sshdconfig file settings

Guys,

Apprecate any one can tell me what shpuld be the typical settings of sshd_config file for a trusted system(hp 9000 SD).Not able to get it work.My SSH Version is OpenSSH_3.7.1p2

thanks and regards
WIp
3 REPLIES 3
Con O'Kelly
Honored Contributor

Re: sshdconfig file settings

Hi

The default settings should allow ssh to work after an install.

What problem are you getting??

Cheers
Con
Steven E. Protter
Exalted Contributor

Re: sshdconfig file settings

An error message would be helpful.

If ssh is not working, it may be a network/firewall issue and nothing to do with your installation.

The default settings should work.

Diagnostic:

inetd -l

# turns on enhanced logging.

Try to do an inbound ssh command to the machine from somewhere else.

then look at /var/adm/syslog/syslog.log

If there is a problem, you will see it there. If all is well, then move on.

I generally modify the sshd_config and its sister files to block outside ssh access that keeps locking up root user on my trusted systems.

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
saju_2
Respected Contributor
Solution

Re: sshdconfig file settings

Hi

I did
cat sshd_config|grep -v "#"
to give u a exact copy of the configuration file on a SD9000 trusted server. The output is below

Protocol 2
PermitRootLogin no
KerberosAuthentication yes
X11Forwarding yes
X11UseLocalhost no
Subsystem sftp /opt/ssh/libexec/sftp-server

The "PermitRootLogin" is part of a security implimentation, which u can decide whether to turn ON or OFF. Pls comapre ur file with this output. With this configuration sshd is working properly in my server.

Regards
CS