1. 다음 두 개의 패키지를 설치한다.
- openssh-clients
- openssh-server
yum -y install openssh-server openssh-clients
2. 서비스 시작하기
chkconfig sshd on
service sshd start
3. 방화벽 설정
3-1. /etc/sysconfig/iptables 파일 수정
( -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT ) 추가
3-2. 방화벽 재시작
- service iptables restart
'Programming > LINUX' 카테고리의 다른 글
리눅스 커널 bit 확인 (0) | 2013.06.07 |
---|---|
우분투 + Wordpress 설치 준비 작업 (0) | 2012.03.26 |
ubuntu 콘솔에서 네트워크 설정 수정 (0) | 2011.12.07 |
Ubuntu Server Graphic 환경 설정 (0) | 2011.12.01 |
[스크랩] 우분투에 아파치+톰캣 설치하기 (0) | 2011.11.23 |