Sco Openserver下 配置SSH服务(图解)
2014-05-19 19:22
423 查看
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 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服务(图解)
- Sco Openserver下 配置SSH服务(图解)
- sco openserver的DNS和DHCP的配置
- ubuntu server 16.04的安装 以及配置网络还有ssh服务
- ubuntu下ssh server服务配置
- bitivise ssh server下载、安装及配置图解
- 为Ubuntu server配置ssh服务 方便远程登陆
- 安装SCO Openserver5.0.5下的Sybase11.0.3
- FreeBSD6.2的SSH服务配置
- SCO OpenServer 5与Windows 2000 Professional并存
- sco openserver终端死锁的解决办法
- Sharepoint Server与Reporting Services整合配置图解
- MS SQL入门基础:代理服务--配置SQL Server Agent
- SCO OpenServer(TM) Release 5的telnet与ftp开启
- Linux下Telnet、ssh服务的配置和使用
- linux 下ssh 服务配置
- linux 下ssh 服务配置
- SCO OpenServer、UnixWare下libxml2库的编译
- 在SCO Openserver 5.0.6上安装j2se 1.3.1_06开发环境.
- SCO Update Pack 1/2 for SCO OpenServer 5.0.7