Operating System - HP-UX
1826501 Members
1761 Online
109692 Solutions
New Discussion

OpenSSH Installation Problem

 
Chen Yingjie
Frequent Advisor

OpenSSH Installation Problem

Dear all

I have a installation problem in OpenSSH 3.4P1

I have to install OpenSSH 3.4p1 in our HP9000 Server.

First of all, I installed Zlib. It was successfully installed.

But when I install OpenSSL,
It shown that I need to install Perl 5.
Then I installed Perl 5.
But it still ask me to install Perl 5.

What is the problem?

10 REPLIES 10
harry d brown jr
Honored Contributor

Re: OpenSSH Installation Problem


Get perl from here:

http://hpux.cs.utah.edu/hppd/hpux/Languages/perl-5.8.0/

live free or die
harry
Live Free or Die
harry d brown jr
Honored Contributor
Chen Yingjie
Frequent Advisor

Re: OpenSSH Installation Problem

Thank you harry.

I have successfully installed all package.

But how can I start OpenSSH?

I can not find sshd.

Chen
Dirk Wiedemann
Respected Contributor

Re: OpenSSH Installation Problem

Hi Chen,

to your perl problem:
type "perl -v"
If perl says it's version 4 the problem is assumedly your search path.
type "whereis perl"perl 4 stays normaly in /usr/contrib/bin/, perl 5 in /opt/perl5/bin.
If this is the problem, you can do different things:
- change your $PATH variable so that first searching in /opt/perl5/bin
- or create a link to perl 5 in a path searching before /usr/contrib/bin, e.g. "ln -s /opt/perl5/bin/perl /usr/bin/perl"

regards
Dirk
Dirk Wiedemann
Respected Contributor

Re: OpenSSH Installation Problem

to your last question:
#whereis sshd

Dirk
Mihails Nikitins
Super Advisor

Re: OpenSSH Installation Problem

sshd daemon lives in
/opt/ssh/sbin/sshd

Its configuration file is
/etc/rc.config.d/sshd

Starting script is
/sbin/init.d/secsh,
Automatic startup links are /sbin/rc1.d/K393secsh
/sbin/rc2.d/S393secsh

BR,
Mihails
KISS - Keep It Simple Stupid
Ralph Grothe
Honored Contributor

Re: OpenSSH Installation Problem

Hi Chen,

even with the precompiled OpenSSH binaries you usually need to create your system's host keys, and edit sshd_config before you will be able to start up sshd (which sort of makes sense).
You can look for a README or INSTALL file in the doc directory of your OpenSSH installation or consult the manpage of the ssh-keygen command, where the process of creating host keys for your box is outlined.
Usually you have to create 3 host keys for the 3 crypto systems rsa1, rsa, and dsa.
e.g.

/opt/openssh/bin/ssh-keygen -N "" -t rsa1 -b 1024 -f /opt/openssh/etc/ssh_host_rsa1_key

You have to repeat this for rsa, dsa as well.
Adapt the protocol string for -t flag and in output file name, as well as the paths according to your OpenSSH installation target.
Madness, thy name is system administration
Chen Yingjie
Frequent Advisor

Re: OpenSSH Installation Problem

Shall I need to install HP-UX
PATCH SOFTWARE before I install followings.

As we known, while install HP-UX Secure Shell A 3.10, HP recommed us to install PHCO_25527.

Chen

September 11, 2002 12:15 PM GMT points for answer: Unassigned109876543210

--------------------------------------------------------------------------------

http://hpux.cs.utah.edu/hppd/hpux/Misc/zlib-1.1.4/
http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/tcp_wrappers-7.6/
http://hpux.cs.utah.edu/hppd/hpux/Languages/openssl-0.9.6d/
http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/openssh-3.4p1/

Get and install in that order!

live free or die
harry
Mehdi_1
Regular Advisor

Re: OpenSSH Installation Problem

Hi Chen

Just to clear confusion. If you are downloading the depot software that has recommanded, you should note that these sofwares are installed in "/usr/local" NOT in "/opt/" directory.
Therefore you should look for them in "/usr/local".


__Mehdi
Chen Yingjie
Frequent Advisor

Re: OpenSSH Installation Problem

Dear all

Thanks for your advices.
I have completed installation.

Now, I have another question.

I want to ssh/sftp to the ssh server by no passphrase.

I knew it need to use ssh-agent, ssh-add to add the passphrase in the memory.

But it need to type phrase.

Is there any way to add phrase in the memory without typing phrase?

Thanks

Chen