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三个文件,步骤如下图所示:

650) this.width=650;" alt="" width="535" height="205" src="http://bjlcg.com:8080/sco/index_image002.jpg" />

650) this.width=650;" alt="" width="531" height="423" src="http://bjlcg.com:8080/sco/index_image004.jpg" />

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

650) this.width=650;" alt="" width="516" height="378" src="http://bjlcg.com:8080/sco/index_image006.jpg" />

650) this.width=650;" alt="" width="510" height="369" src="http://bjlcg.com:8080/sco/index_image008.jpg" />

650) this.width=650;" alt="" width="527" height="394" src="http://bjlcg.com:8080/sco/index_image010.jpg" />

650) this.width=650;" alt="" width="529" height="235" src="http://bjlcg.com:8080/sco/index_image012.jpg" />
650) this.width=650;" alt="" width="515" height="392" src="http://bjlcg.com:8080/sco/index_image014.jpg" />

650) this.width=650;" alt="" width="510" height="215" src="http://bjlcg.com:8080/sco/index_image016.jpg" />

650) this.width=650;" alt="" width="500" height="372" src="http://bjlcg.com:8080/sco/index_image018.jpg" />

650) this.width=650;" alt="" width="482" height="375" src="http://bjlcg.com:8080/sco/index_image021.jpg" />

650) this.width=650;" alt="" width="482" height="377" src="http://bjlcg.com:8080/sco/index_image023.jpg" />

650) this.width=650;" alt="" width="494" height="372" src="http://bjlcg.com:8080/sco/index_image026.jpg" />

650) this.width=650;" alt="" width="488" height="124" src="http://bjlcg.com:8080/sco/index_image028.jpg" />

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

650) this.width=650;" alt="" width="469" height="254" src="http://bjlcg.com:8080/sco/index_image030.jpg" />

最后手工启动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 ‘’’

650) this.width=650;" alt="" width="512" height="121" src="http://bjlcg.com:8080/sco/index_image032.jpg" />
650) this.width=650;" alt="" width="497" height="295" src="http://bjlcg.com:8080/sco/index_image034.jpg" />

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

650) this.width=650;" alt="" width="493" height="353" src="http://bjlcg.com:8080/sco/index_image036.jpg" />

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

650) this.width=650;" border="0"
src="http://www.robtex.com/ipinfo.gif" width="468" height="20" alt="ip information">

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

Sco Openserver下 配置SSH服务(图解)的更多相关文章

  1. Ubuntu 下配置 SSH服务全过程及问题解决

    Windows下做Linux开发,装虚拟机里,怎么可以不用SSH呢.有人说,“做Linux开发,还不直接装机器上跑起来了,还挂虚拟机,开SSH……闲的蛋疼了吧”,不管怎样,我接触Linux算是3年了, ...

  2. windows下配置ssh(FreeSSHD + putty)

    windows下配置ssh(FreeSSHD + putty): 1.关于配置过程找到一篇很好的博客,推荐大家先好好看一下,这篇博文解决了大方向问题. 地址:http://blog.csdn.net/ ...

  3. [转]Ubuntu下配置NFS服务

    [转]Ubuntu下配置NFS服务  http://blog.163.com/liu8821031%40126/blog/static/111782570200921021253516/ Table ...

  4. Ubuntu下开启ssh服务

    网上有很多介绍在Ubuntu下开启SSH服务的文章,但大多数介绍的方法测试后都不太理想,均不能实现远程登录到Ubuntu上,最后分析原因是都没有真正开启ssh-server服务.最终成功的方法如下: ...

  5. Ubuntu下配置tftp服务

    Ubuntu下配置tftp服务 1.安装TFTP软件 sudo apt-get install tftp-hpa tftpd-hpa tftp-hpa是客户端,tftpd-hpa是服务器端 2.建立t ...

  6. window下配置SSH连接GitHub、GitHub配置ssh key

    window下配置SSH连接GitHub.GitHub配置ssh key   此经验分两部分: 第一部分介绍:在windows下通过msysGit(Git for windows.Git Bash)配 ...

  7. 配置ssh服务允许root管理员直接登录

    配置ssh服务允许root管理员直接登录 [root@linux-node2 ~]# grep PermitRootLogin /etc/ssh/sshd_config PermitRootLogin ...

  8. windows下配置ssh访问github

    一.说明 一直使用HTTPS的方式访问github的代码,用的时间长了,发现这是效率很低的一种开发行为,因为每次git push的时候都要输入username和password.今天就介绍如何在win ...

  9. CentOS7系列--2.2CentOS7中配置SSH服务

    CentOS7配置SSH服务 1. SSH配置 1.1. 使用SSH服务更加安全 [root@centos7 ~]# vi /etc/ssh/sshd_config 设置如下 PermitRootLo ...

随机推荐

  1. Android: 触屏fling/scroll/drag的区别及其详细过程

    Google了一下,终于搞清了touch screen下的几种操作模式(对应的是事件). 对于一个view, 常用的操作有点击(click)和长按(long press)二种.实际上,这些操作类型是A ...

  2. NeHe OpenGL教程 第八课:混合

    转自[翻译]NeHe OpenGL 教程 前言 声明,此 NeHe OpenGL教程系列文章由51博客yarin翻译(2010-08-19),本博客为转载并稍加整理与修改.对NeHe的OpenGL管线 ...

  3. vim 上下左右变成ABCD 解决办法

    一.缘由 一次发现VIM编辑文件,发现上下左右键变输入ABCD.猜测vimrc没设置好. 二.解决办法: ls -l /etc/ |grep vim,发现有两个结果vimrc.rpmnew,vimrc ...

  4. 关于微信网页调用js-sdk相关接口注意事项目(一级域名与二级域名互相干扰!!!)

    不知道有没有网友遇到过同一个web应用用不同的域名(一级或二级域名)在两个公众号中调用JSSDK相关接口实现功能, 这种做法本来没有问题,问题在于用二级域名(同属一级域名下的二级域名)绑定另一个web ...

  5. JAVA中IO总结

    JAVA中IO流主要分为两大类: 字节流:InputStream+OutputStream 字符流:Reader+Writer 字节流: InputStream是所有字节输入流的父类 OutputSt ...

  6. Windows下Nginx的启动、停止等命令(转)

    Windows下Nginx的启动.停止等命令 在Windows下使用Nginx,我们需要掌握一些基本的操作命令,比如:启动.停止Nginx服务,重新载入Nginx等,下面我就进行一些简单的介绍.1.启 ...

  7. Dubbo 应用容器

    Dubbo的容器模块,是一个独立的容器,因为服务通常不需要Tomcat/JBoss等Web容器的特性,没必要用Web容器去加载服务. 服务容器只是一个简单的Main方法,并加载一个简单的Spring容 ...

  8. linux nandflash驱动之MTD层

    MTD,Memory Technology Device即内存技术设备,在Linux内核中,引入MTD层为NOR FLASH和NAND FLASH设备提供统一接口.MTD将文件系统与底层FLASH存储 ...

  9. 生成ldf数据库文件

    .在我的电脑中删除LOG文件 c.附加数据库: 企业管理器--服务器--数据库--右键--附加数据库 此法将生成新的LOG,大小只有500多K

  10. java左移右移运算符

    http://blog.csdn.net/dandanteng/article/details/7433531 首先要明白一点,这里面所有的操作都是针对存储在计算机中中二进制的操作,那么就要知道,正数 ...