Operating System - HP-UX
1836636 Members
1691 Online
110102 Solutions
New Discussion

Re: Install ssh 3.1.0 on a 64bit 11.0

 
mckiers
Occasional Advisor

Install ssh 3.1.0 on a 64bit 11.0

I am having a problem trying to compile ssh
it finds that it is a hppa2 machine and that it is 64bit. I am using the HP ansi C complier, I get a look of warnings but no out right errors. So when the binaries are compiled I it looks okay, until I run the sshd2 binary. What I get is a verbose output which just keeps in the foreground and doesn't run in the background. Has anyone run into this problem?
7 REPLIES 7
Steven Sim Kok Leong
Honored Contributor

Re: Install ssh 3.1.0 on a 64bit 11.0

Hi,

Would you mind posting up the error message when you execute sshd?

Steven Sim Kok Leong
mckiers
Occasional Advisor

Re: Install ssh 3.1.0 on a 64bit 11.0

I hope this will shed some light on the problem, it looks
like I have complie issues in the loop program.

sshd2: SSH Secure Shell 3.1.0 on hppa2.0w-hp-hpux11.00
debug[18884]: SshHostKeyIO/sshhostkeyio.c:168: Reading public host key from /xxx/xxx/ssh2/hostkey.pub
debug[18884]: SshHostKeyIO/sshhostkeyio.c:253: Host key algorithms: ssh-dss
debug[18884]: Becoming server.
debug[18884]: Creating listener
debug[18884]: Listener created
debug[18884]: no udp listener created.
debug[18884]: Running event loop
debug[18884]: ssh_sigchld_real_callbac
Steven Sim Kok Leong
Honored Contributor

Re: Install ssh 3.1.0 on a 64bit 11.0

Hi,

I suspect that you ran sshd with the debug mode on.

Below should be sufficient:

# /usr/local/sbin/sshd

Did you perhaps run it with the -d option with is the debug mode?

Hope this helps. Regards.

Steven Sim kok Leong
mckiers
Occasional Advisor

Re: Install ssh 3.1.0 on a 64bit 11.0

No I didn't run it in debug mode even though the output looks like debug, it maybe that the default is verbose or not "-d 2" as the README says. But I started the program as you have suggested and got the output which was posted above.
Steven Sim Kok Leong
Honored Contributor

Re: Install ssh 3.1.0 on a 64bit 11.0

Hi,

Check wheter your /etc/ssh2/sshd2_config (or equivalent) has VerboseMode set to yes. If it has been set to yes, the symptoms of your problem will occur. Set to no to resolve this.

Extracted for your convenience:
=========================================
Verbose mode. Causes sshd2 to print debugging messages about its progress. This is helpful in debugging connection, authentication, and configuration problems. Also causes sshd2 to not fork on connection, so only one connection is handled.
=========================================

Hope this helps. Regards.

Steven Sim Kok Leong
Mark Fenton
Esteemed Contributor

Re: Install ssh 3.1.0 on a 64bit 11.0

Definately looks like it's running in debug mode. Two ideas -- if debug isn't specified in the config file, then I maybe you should specifically force the logging level to some lower level.

#/usr/local/sbin/sshd2 -q

((turn off logging))

Could you have accidently compiled it with debugging forced to on?
T. M. Louah
Esteemed Contributor

Re: Install ssh 3.1.0 on a 64bit 11.0