Sco Openserver下 配置SSH服务(图解)

本文详细介绍如何在ScoOpenServer 5.0.5环境下安装配置SSH服务,包括所需软件包、安装步骤及安全设置等内容。

 Sco Openserver 配置SSH服务
好久没玩儿Sco Unix系统了,春节过后为邮政系统的一个朋友调试系统( 装了个远程服务) ,这两天将安装过程回忆了一下,总结出来给大家分享.
本试验需要在sco openserver 5.0.5平台下,因为在5.0.7以上版本已内置了ssh服务,我们这里针对的是5.0.5.5.0.6的版本的安装首先在服务器/myfile目录下上准备好openssh-3.4p1-VOLS,prngd-0.923-VOLS,zlib-1.1.4-VOLS三个文件,步骤如下图所示: 

选择本地form flysco(这是主机名)

 


 


 

 

注意这是只是启动prngd进程,但是如果系统reboot就不管用了,我们需要做下一步工作

 

 

 

最后手工启动prngd
#/usr/local/sbin/prngd /usr/local/var/prngd/prngd-poll &

注意:公钥保存在/usr/local/etc/目录下
手工启动sshd
#/usr/local/sbin/sshd&
配置:
#vi /usr/local/etc/sshd_conf
验证:
#netstat –na|grep 22

生成ssh_host_key
#Cd /usr/local/bin
#ssh-keygen –t rsa1 –f /usr/local/local/etc/ssh_host_key
#ssh-keygen –t dsa –N “” –f /usr/local/etc/ssh_host_dsa_key 生成DSA算法证书
#ssh-keygen –t rsa –f /usr/local/etc/ssh_host_rsa_key –N ‘’’



最后将/usr/local/sbin/sshd & /usr/local/sbin/prngd /usr/local/var/prngd/prngd-pool &
加入到/etc/rc2.d/P88USRDEFINE文件中即可开机启动ssh服务。 


好了到这里ssh就安装好了,不过为了安全起见,最好更改ssh的连接端口,方法如下:
#cd /etc/ssh
#vi sshd_config
查找# port 22,改为:port 1002,保存退出
然后重启ssh服务即可,简单吧! 

ip information

 

 

 

本文出自 “李晨光原创技术博客” 博客,谢绝转载!

SCO UnixWare 7.x Introduction: ------------- This document describes the procedure to install the SCO UnixWare 7 driver for 10/100M PCI Fast Ethernet Adapter. Location of Driver: \uw7\rtspkg.tar Installing driver procedure on SCO UnixWare7 : ----------------------------------------- Before you start with the installation process, make sure that the SCO UNIX system is properly installed. Similarly, your adapter should also be properly installed in your machine. 1. Installation Diskette in DOS format. Put RTL SCO UnixWare Driver diskette to floppy A: and use doscp command to copy RTL SCO UnixWare Driver into UNIX's directories. NOTE: In UnixWare 7.1.1, you must install the "mtools" package included within the OS and use "mcopy" instead of "doscp". # cd / # doscp A:uw7/rtspkg.tar /tmp 2. Run 'tar' utility to extract the driver. # cd /tmp # tar -xvf rtspkg.tar 3. Run 'pkgadd' utility to add the driver software to system. # pkgadd -d /tmp/pkg => Select "RTL8139" to add the driver package to the system. => quit 4. Use 'scoadmin' utility to add adapters. # scoadmin => Select "Networking" item from the item list and press enter. => Select "Network Configuration Manager" item from the item list and press enter. => Select "Add New Lan Adapter" menu item from "Hardware". => Select the Realtek RTL8139C+/8139/810x item from the item list. => Add protocol(s) to the adapter. 5. Return to the command prompt. 6. Shutdown the system and reboot. NOTE: 1. If you want to install more than one network adapter, you should do the 4th, 5th, 6th steps above for each network card separately. 2. This driver can support up to four network adapters.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值