南非蜘蛛 回复于:2002-09-16 12:21:19 |
是openssh吗? |
lugyin 回复于:2002-09-16 13:03:12 |
是的,我安装之后就是这个提示; 然后我有安装了prngd. 再次运行依然 |
lugyin 回复于:2002-09-16 14:00:45 |
我安装之前,先安装了以下几个程序 1。openssl 2。zlib 3。prngd 谁知道还需要什么? |
lugyin 回复于:2002-09-16 15:35:06 |
谁安装成功,请讲一讲 |
萧筱筱 回复于:2002-09-16 16:10:19 |
[这个贴子最后由萧筱筱在 2002/09/16 04:11pm 编辑] 1.所需安装包 openssl-0.9.6e-sol8-sparc-local openssh-3.4p1.tar.gz 2.安装前需准备工作 因为Openssh的3.4p1版本有个发布包是被人黑过的,因此在拿到openssh-3.4p1.tar.gz,安装之前需要用md5查看一下该包。 #md5 openssh-3.4p1.tar.gz 若结果为:459c1d0262e939d6432f193c7a4ba8a8说明该包可用,否则该包不可用。 3.安装openssl-0.9.6e-sol8-sparc-local pkgadd –d openssl-0.9.6e-sol8-sparc-local 4.安装openssh #tar –zxvf openssh-3.4p1.tar.gz #cd openssh-3.4p1 #./configure --prefix=/usr/local/ssh --with-ssl-dir=/usr/local/ssl --with-ipv4-default #make #make install 5.配置openssh 添加sshd用户 groupadd sshd useradd –g sshd –d /usr/local/ssh –s /bin/false sshd 编辑/usr/local/ssh/etc/sshd_config文件 将以下内容的注释打开 Port 22 Protocol 2 ListenAddress 0.0.0.0 HostKey /usr/local/ssh/etc/ssh_host_rsa_key HostKey /usr/local/ssh/etc/ssh_host_dsa_key 6.启动sshd 启动:/usr/local/ssh/sbin/sshd 7.编辑sshd自启动脚本 在/etc/init.d目录下vi sshdctl,添加以下内容 #!/bin/sh PATH=$PATH:/usr/local/ssh/bin:/usr/local/ssh/sbin:. export PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/local/lib:/usr/ucb/lib:/usr/local/ssh/libexec. export LD_LIBRARY_PATH if [ $# -lt 1 ] then echo "usage: sshdctl start | stop" fi # start sshd case "$1" in start) sshd ;; stop) ps -ef | grep sshd | grep -v grep | awk '{print "kill -9 "$2}'| sh ;; *) echo "usage: sshdctl start | stop" ;; esac 保存退出。chmod u+x sshdctl ln –s /etc/init.d/sshdctl /etc/rc2.d/S99sshd ln –s /etc/init.d/sshdctl /etc/rc0.d/K01sshd |
lugyin 回复于:2002-09-16 16:38:43 |
谢谢 我用的是 openssh-3.4p1-sol26-sparc-local openssl-0.9.6g-sol26-sparc-local 都已经默认install,但是就是不工作,出现上面的提示: Couldn't connect to PRNGD socket "/var/spool/prngd/pool": No such file or directory Entropy collection failed ssh-rand-helper child produced insufficient data |
ipfreak 回复于:2002-09-17 09:12:18 |
download source code and compile the openssh by yourself ...unless you know the compiling options of openssh-3.4p1-sol26-sparc-local ... |
lugyin 回复于:2002-09-17 09:36:22 |
其实我用pkgadd安装过程也没有出现什么错误信息,怪哉! |
阿达 回复于:2002-09-17 11:03:27 |
先检查一下你是否已经打了补丁112438-01,没有的话,先打好,然后重启机器再次安装。 |
lugyin 回复于:2002-09-17 11:23:37 |
我使用的是solaris26,没有补丁112438-01 |
南非蜘蛛 回复于:2002-09-17 11:26:30 |
prngd这个安装了吗 |
lugyin 回复于:2002-09-17 11:33:04 |
已经安装了 |
南非蜘蛛 回复于:2002-09-17 11:37:50 |
从装这个包 |
lugyin 回复于:2002-09-17 11:41:12 |
我又安装了一遍,prngd-0.9.25-sol26-sparc-local 仍然不幸 |
阿达 回复于:2002-09-17 14:14:56 |
打开网页http://sunfreeware.com/openssh26-7.html,里面有详细介绍。 |
lugyin 回复于:2002-09-17 17:33:35 |
感谢楼上的兄弟,按照上面的步骤,已经成功安装。 |
lugyin 回复于:2002-09-17 17:40:55 |
有时间我会将此翻译一下,以共享大家 |
future00 回复于:2003-04-01 07:28:53 |
make install时提示:
ssh-rand-helper: Cannot find ELF ssh-rand-helper child produced insufficient data ssh-rand-helper: Cannot find ELF make: *** [host-key ] Error 255 请问这是什么原因,是需要装另外的包吗? 谢谢! |