일단 openssh 5.6으로 업그레이드를 하게되면 기본으로 protocol 버전이 2로 된다.
원본 링크: http://blog.mizoshiri.com/archives/971
윗글의 핵심은 압축을 해제하고 나서 contrib/redhat/openssh.spec 을 수정한다. 그리고 다시 압축을 한후에 다음과 같이 명령어를 입력한다.
[code bash]
]# rpmbuild -ta --clean openssh-5.6p1-final.tar.gz
[/code]
이렇게 하게되면 패키지가 제작된다.
sshd_config 설정
[code text]
Protocol 2
SyslogFacility AUTHPRIV
PermitRootLogin yes
RSAAuthentication yes
PasswordAuthentication yes
PermitEmptyPasswords no
ChallengeResponseAuthentication no
GSSAPIAuthentication yes
GSSAPICleanupCredentials yes
UsePAM yes
X11Forwarding yes
Subsystem sftp /usr/libexec/openssh/sftp-server
[/code]
Source RPM :
openssh-5.6p1-1.el5.centos.src.zipopenssh 5.6 for CentOS 5.5
0 개의 댓글:
댓글 쓰기