免费注册 查看新帖 |

Chinaunix

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

SCO UNIX 安装ssh服务 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-10-28 13:17 |只看该作者 |倒序浏览
Here are the steps for OpenServer 5.0.6  
   
          1) Make a directory in which to store the ssh server package:   
   
                # mkdir /tmp/ssh  
   
          2) Download the following to /tmp/ssh:  
   
                  
ftp://stage.sco.com/pub/security/openserver/CSSA-2002-SCO.10/CSSA-2002-SCO.10.txt
  
                                             
ftp://stage.sco.com/pub/security/openserver/CSSA-2002-SCO.10/openssh-3.1p1-VOLS.tar
  
   
             Alternate download location:   
                                          
ftp://ftp2.sco.com/pub/skunkware/osr5/vols/openssh-3.4p1-VOLS.tar
  
   
          3) CSSA-2002-SCO.10.txt states that the ssh server package depends on
             prngd and zlib. The prngd (pseudo random number generator daemon)
             package enables OpenServer to generate random numbers. The zlib
             package is a compression library.  
   
             Make temporary directories for these packages:  
   
                # mkdir /tmp/prngd  
                # mkdir /tmp/zlib  
   
             And download the prngd and zlib packages into these directories:  
   
ftp://ftp2.sco.com/pub/skunkware/osr5/vols/prngd-0.9.23-VOLS.tar
  
                                             
ftp://ftp2.sco.com/pub/skunkware/osr5/vols/zlib-1.1.4-VOLS.tar
  
   
          4) Extract the ssh, prngd, and zlib packages:  
   
                # cd /tmp/ssh   
                # tar xvf openssh-3.1p1-VOLS.tar  
                # cd /tmp/prngd   
                # tar xvf prngd-0.9.23-VOLS.tar  
                # cd /tmp/zlib   
                # tar xvf zlib-1.1.4-VOLS.tar  
   
             After extracting these packages, you will see VOL files (with names
             such as VOL.000.000) in each of these three directories. VOL files
             are package images that can be installed using scoadmin 's Software
             Manager utility.  
   
          5) Run scoadmin-->Software Manager  
   
          6) From the menu select: Software-->Install  
   
          7) You will be prompted:  
   
             "What host (machine) do you want to install from?"  
             Select "From machine" where machine is the name of your machine.
             Do not select "From another host".  
   
          8) Click "Continue"  
     
          9) You will be prompted:  
              Insert media, and select media device."  
              Select "Media Images" from the pull down menu.  
     
          10) You will be prompted:  
   
              "Enter the full path to the directory containing media images."  
               Type "/tmp/zlib".  
   
          11) Repeat steps 6 through 10 for /tmp/prngd. You'll be asked to
              assign a password to a Unix account called prngd. Don't worry,
              it  will create the account for you.  
   
          12) Start prngd manually:  
   
              # /usr/local/sbin/prngd /usr/local/var/prngd/prngd-pool &  
   
              NOTE:      This will start prngd, but prngd will not start again on
                    the next reboot. To make this occur every time the system
                    boots, add the command above to the bottom of
                    /etc/rc2.d/P88USRDEFINE. Don't put in the pound sign.  
   
          13) Run Software Manager once more and install the media images in
              /tmp/ssh.  See steps 6 through 10. You will see a message similar
              to the following:  
   
              Your identification has been saved in /usr/local/etc/ssh_host_key.  
              Your public key has been saved in /usr/local/etc/ssh_host_key.pub.  
              The key finger print is:  
                                             
              xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx root@cherry.example.com

   
          14) Start sshd manually:  
   
              # /usr/local/sbin/sshd &  
   
              Again, to make this occur every time the system boots, add the
              command above to the bottom of /etc/rc2.d/P88USRDEFINE.  
   


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/18957/showart_191781.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP