1846739 Members
3588 Online
110256 Solutions
New Discussion

Re: SSH

 
SOLVED
Go to solution
Andrew medhurst1
Frequent Advisor

SSH

guys
i am now at the stage where i am going round in circles with ssh.
have rebuilt system onto new hardware from ignite image.
system has open ssh installed but when you run startup script i runs and says that all is started successfully yet no deamon running.
i cannot get it to error and it thinks it starts ???.
have tried reinstalling ssl and zlib librarys but still the same.
has anyone got any ideas oh to have an error .
regards
andrew
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: SSH

Shalom,

Don't run a compiled version of ssh.

http://software.hp.com
search for
secure shell

This is ssh

download the depot and do an install. Everything will work. Supported by HP

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
Fabio Ettore
Honored Contributor

Re: SSH

Hi Andrew,

first be sure to have SSH software depot downloaded by HP sites. If all is ok then please insert

set -x

on top of /sbin/init.d/secsh script and then post here the output of the following command:

/sbin/init.d/secsh start

Best regards,
Fabio
WISH? IMPROVEMENT!
Steven Schweda
Honored Contributor

Re: SSH

> [...] oh to have an error .

Oh, to have a clear description of exactly
what you did and what happened when you did
it...

> have rebuilt system onto new hardware from
> ignite image.

So, is this new system replacing the old
system, or do they coexist? Does it have the
same name and address as the old system? Is
SSH the only networky thing which doesn't
work properly?

Which "open ssh"?

> [...] run startup script [...]

Which "startup script"?

> [...] says that all is started successfully
> [...]

What, exactly, did you do, and what, exactly,
happened when you did it? That new-fangled
copy+paste stuff can be useful in a situation
like this.

> [...] yet no deamon running.

And you know this how?


And so on...
OldSchool
Honored Contributor
Solution

Re: SSH

suggest that you start sshd from the command line with multiple -d options, as in

/usr/local/sbin/sshd -ddd -p

and try to connect using

ssd -vvv -p

this will start a non-daemon sshd process and verbose output, and the ssh process will produce verbose output as well. reviewing the output of the above may point you in the right direction.
Andrew medhurst1
Frequent Advisor

Re: SSH

Guys
sorry for delay but i am not able to be on internet at same time as lan, due to bridging issues.
i tried the command listed it is openssh 3.8p1.
tried ./sshd -ddd -p 200
and got an error great.
debug2: read_server_config: filename /opt/???tools/???openssh/etc/sshd_config
debug1: sshd version OpenSSH_3.8p1
debug3: Not a RSA1 key file /opt/???tools/???openssh/etc/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #0 type 2 DSA
/usr/lib/dld.sl: Unresolved symbol: getnameinfo (code) from ./sshd
Abort(coredump)
thanks to old school i now have something to work with.
will be investigating but any further help always appeciated.
those unresolved symbols are there to curse me .
regards
andrew
skt_skt
Honored Contributor

Re: SSH

post

ssh -V

OS version
Andrew medhurst1
Frequent Advisor

Re: SSH

Thanks for the help guys but i have managed to resolve.
it was a patch i needed i managed to trace to error to the fact that i needed to install patch no PHCO_35743 which is the latest stable Lidc cumulative patch and dependencys and all is now happy in this ssh camp.
thanks to those who tried to help.
regards
andrew