Sco Openserver下 配置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三个文件,步骤如下图所示:
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服务即可,简单吧!
本文出自 “李晨光原创技术博客” 博客,谢绝转载!
Sco Openserver下 配置SSH服务(图解)的更多相关文章
- Ubuntu 下配置 SSH服务全过程及问题解决
Windows下做Linux开发,装虚拟机里,怎么可以不用SSH呢.有人说,“做Linux开发,还不直接装机器上跑起来了,还挂虚拟机,开SSH……闲的蛋疼了吧”,不管怎样,我接触Linux算是3年了, ...
- windows下配置ssh(FreeSSHD + putty)
windows下配置ssh(FreeSSHD + putty): 1.关于配置过程找到一篇很好的博客,推荐大家先好好看一下,这篇博文解决了大方向问题. 地址:http://blog.csdn.net/ ...
- [转]Ubuntu下配置NFS服务
[转]Ubuntu下配置NFS服务 http://blog.163.com/liu8821031%40126/blog/static/111782570200921021253516/ Table ...
- Ubuntu下开启ssh服务
网上有很多介绍在Ubuntu下开启SSH服务的文章,但大多数介绍的方法测试后都不太理想,均不能实现远程登录到Ubuntu上,最后分析原因是都没有真正开启ssh-server服务.最终成功的方法如下: ...
- Ubuntu下配置tftp服务
Ubuntu下配置tftp服务 1.安装TFTP软件 sudo apt-get install tftp-hpa tftpd-hpa tftp-hpa是客户端,tftpd-hpa是服务器端 2.建立t ...
- window下配置SSH连接GitHub、GitHub配置ssh key
window下配置SSH连接GitHub.GitHub配置ssh key 此经验分两部分: 第一部分介绍:在windows下通过msysGit(Git for windows.Git Bash)配 ...
- 配置ssh服务允许root管理员直接登录
配置ssh服务允许root管理员直接登录 [root@linux-node2 ~]# grep PermitRootLogin /etc/ssh/sshd_config PermitRootLogin ...
- windows下配置ssh访问github
一.说明 一直使用HTTPS的方式访问github的代码,用的时间长了,发现这是效率很低的一种开发行为,因为每次git push的时候都要输入username和password.今天就介绍如何在win ...
- CentOS7系列--2.2CentOS7中配置SSH服务
CentOS7配置SSH服务 1. SSH配置 1.1. 使用SSH服务更加安全 [root@centos7 ~]# vi /etc/ssh/sshd_config 设置如下 PermitRootLo ...
随机推荐
- 黄聪:如何开启IIS7以上的“IIS6管理兼容性”
护卫神PHP套件的安装,需要开启“IIS6管理兼容性”, 那么,如何开启IIS7.IIS7.5.IIS8.0的IIS6兼容模式呢? 设置的时候,请参照如下截图:
- 黄聪:使用$.getJSON解决ajax跨域访问 JQuery 的跨域方法(服务器端为wordpress程序)
客户端: <input id="cat" name="cat" type="hidden" value="<? ech ...
- 黄聪:WordPress 多站点建站教程(五):获取子站点用户信息(通过输入站点ID号来获取该站点的所有用户)
得到站点ID为1的用户 <ul> <?php $blogusers = get_users('blog_id=1'); foreach ($blogusers as $user) { ...
- OpenGL 开始学习指南
近期需要做一个涌潮的预报与仿真模拟,为了使模型更具有真实感,且逼真,使用起来更灵活.感觉还是得从基础的OpenGL学习.鉴于Direct3D技术存在的众多不确定性,且评论不太好的原因,决定用OpenG ...
- [实变函数]5.2 非负简单函数的 Lebesgue 积分
1 设 $$\bex \phi(x)=\sum_{i=1}^j c_i\chi_{E_i}(x),\quad c_i\geq 0, \eex$$ 其中 ...
- ylbtech-LanguageSamples-XMLdoc
ylbtech-Microsoft-CSharpSamples:ylbtech-LanguageSamples-XMLdoc 1.A,示例(Sample) 返回顶部 “XML 文档”示例 本示例演示如 ...
- linux命令行下导出导入.sql文件
一.导出数据库用mysqldump命令(注意mysql的安装路径,即此命令的路径):1.导出数据和表结构(以管理员身份运行): ------------------------------------ ...
- 庭审精彩语录整理 z
公诉人:用百度搜索淫秽关键字+快播,搜索结果得出超过4200万结果,可见快播在传播淫秽视频方面的巨大影响.王欣:这个没有任何意义,您可以用百度搜索淫秽关键字+QQ看有多少结果. 新浪科技讯 1月8日下 ...
- 注意,ruby循环体定义的变量在结束时后,变量还存在
a = [1, 2, 3] for i in a b = 123 p i end p "b:#{b}" p i <ruby语言编程> 129页 倒数 第8行
- substring与substr
一.substring package Test; public class SubstringTest { public static void main(String[] args) { Stri ...