7.2의 ssh버전이 낮아서 패치하려구 합니다
여기에서 찾아보니까
===============================================
[root@redpig3 openssh-3.4p1]# ./configure
--prefix=/usr/local/openssh
--with-pam
--with-ipv4-default
--with-rsh=/usr/bin/rsh
--with-default-path=/bin:/usr/bin/:/usr/local/bin:/usr/X11R6/bin:/usr/local/openssl/bin
ch
make
make install
addusr -r sshd
/etc/init.d/sshd restart
=================================================
이렇게 하라구 하더군요.
그런데 다음과 같은 에러가 남니다.
=========================================
[root@redpig3 openssh-3.4p1]# ./configure
--prefix=/usr/local/openssh
--with-pam
--with-ipv4-default
--with-rsh=/usr/bin/rsh
--with-default-path=/bin:/usr/bin/:/usr/local/bin:/usr/X11R6/bin:/usr/local/openssl/bin
ch[root@redpig3 openssh-3.4p1]# mkdir /var/empty
.
.
.
checking for yp_match in -lnsl... yes
checking for setsockopt... yes
checking for getspnam... yes
checking for deflate in -lz... no
configure: error: *** zlib missing - please install first or check config.log ***
[root@redpig3 openssh-3.4p1]#
=========================================
어디가 잘못되었나요?
물론
======================================
[root@redpig3 openssh-3.4p1]# chown root:sys /var/empty
[root@redpig3 openssh-3.4p1]# chmod 755 /var/empty
[root@redpig3 openssh-3.4p1]# groupadd sshd
[root@redpig3 openssh-3.4p1]# useradd -g sshd sshd
=========================================
이것도 해보았습니다.
??????????????????