Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3401423
  • 博文数量: 534
  • 博客积分: 11595
  • 博客等级: 上将
  • 技术积分: 5785
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-22 17:00
文章分类

全部博文(534)

文章存档

2015年(4)

2014年(27)

2013年(15)

2012年(38)

2011年(36)

2010年(85)

2009年(63)

2008年(142)

2007年(124)

分类:

2011-03-09 12:04:31

首先确认已经装好gcc
 
1.下载和安装zlib

zlib-1.2.3-4.aix5.2.ppc.rpm
zlib-devel-1.2.3-4.aix5.2.ppc.rpm
安装:
rpm -ivh zlib-1.2.3-4.aix5.2.ppc.rpm
rpm -ivh zlib-devel-1.2.3-4.aix5.2.ppc.rpm

2.下载和安装openssl
gtar -zxvf openssl-0.9.8e.tar.gz
cd openssl-0.9.8e
./config && make && make test && make install

3.下载和安装openssh

openssh-4.3p1.tar.gz
gtar -zxvf openssh-4.3p1.tar.gz
cd openssl-4.3p1
./configure && make && make install
 
4.启动ssh
/usr/local/sbin/sshd -f /usr/local/etc/sshd_config
 
5.ssh启动成功
[root@testserver /usr/local/sbin]# ps -ef | grep ssh
    root 790620      1   0 11:21:59      -  0:00 /usr/local/sbin/sshd
6.将启动ssh命令加入rc.local
 
阅读(1351) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2011-03-27 15:37:47

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com