免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3187 | 回复: 1
打印 上一主题 下一主题

HPUX安装ssh [复制链接]

论坛徽章:
1
巨蟹座
日期:2014-09-15 14:33:54
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-03-30 17:37 |只看该作者 |倒序浏览
Step One: Getting the packages below and the website is http://hpux.connect.org.uk/hppd/auto/
make-3.80-ia64-11.22.depot
openssh-4.2p1-src-11.11.tar.gz
zlib-1.2.3-src-11.11.tar.gz
openssl-0.9.8d-src-11.11.tar.gz
perl-5.8.7-src-11.11.tar.gz [openssl needed]

Step Two: Installing the packages
Make
By default, the make program in the machine is non GNU make program. So we need to install the new make binary and is named gmake.
We need to do the following as well after installation.
1. ln -s /usr/local/bin/gmake /usr/local/bin/make
2. export PATH=/usr/local/binPATH
3. Then run 'which make', make sure the result is /usr/local/bin/make.

Zlib
=====================================
bash-3.00# gunzip zlib-1.2.3-src-11.11.tar.gz
bash-3.00# tar xf zlib-1.2.3-src-11.11.tar
bash-3.00# cd zlib-1.2.3
bash-3.00# ./configure
bash-3.00# gmake
bash-3.00# gmake install
=====================================

Perl
=====================================
bash-3.00# gunzip perl-5.8.7-src-11.11.tar.gz
bash-3.00# tar xf perl-5.8.7-src-11.11.tar
bash-3.00# cd perl-5.8.7
bash-3.00# ./configure
bash-3.00# gmake
bash-3.00# gmake install
=====================================

OpenSSL
=====================================
bash-3.00# gunzip openssl-0.9.8d-src-11.11.tar.gz
bash-3.00# tar xf openssl-0.9.8d-src-11.11.tar
bash-3.00# cd openssl-0.9.8d
bash-3.00# ./configure
bash-3.00# gmake
bash-3.00# gmake install
=====================================

OpenSSH
=====================================
bash-3.00# gunzip openssh-4.2p1-src-11.11.tar.gz
bash-3.00# tar xf openssh-4.2p1-src-11.11.tar
bash-3.00# cd openssh-4.2p1
bash-3.00# ./configure --with-pam --with-zlib=/usr/local/lib/hpux32
bash-3.00# gmake
bash-3.00# gmake install host-key check-config
=====================================

Step Three: Remove the old sshd
=====================================
bash-3.00# rm -rf /usr/bin/ssh
bash-3.00# rm -rf /usr/sbin/sshd
bash-3.00# ln -s /usr/local/bin/ssh /usr/bin/ssh
bash-3.00# ln -s /usr/local/sbin/sshd /usr/sbin/sshd
=====================================

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
2 [报告]
发表于 2012-03-31 08:44 |只看该作者
Connect上不是有depot的包么?
http://hpux.connect.org.uk/hppd/ ... dmin/openssh-5.9p1/

不过不是特别需要的话,建议用HP提供的Secure Shell,虽然核心也是用OpenSSH打包的~
https://h20392.www2.hp.com/porta ... oductNumber=T1471AA
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP