首先确认已经装好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
阅读(1390) | 评论(1) | 转发(0) |