1. 설지 여부 확인
root@ubuntu:~$ dpkg -|lgrep ssh

2. 설치
root@ubuntu:~# apt-get install openssh-server

3. 포트변경
root@ubuntu:~# vi /etc/ssh/sshd_config

위 파을을 열어 밑에 포트번호를 바꾸어 주면된다.

# What ports, IPs and protocols we listen for
Port 22

4. ssh 재시작
root@ubuntu:~# /etc/init.d/ssh restart


'Study > Ubuntu' 카테고리의 다른 글

Ubuntu - MariaDB 설치  (0) 2013.03.24
Ubuntu - nginx 컴파일 설치  (0) 2013.03.22
CentOS - eth0 자동 활성화 시키기  (0) 2013.02.23
Ubuntu - vi 설정 변경  (0) 2012.11.16
htop - an interactive process viewer for Linux  (0) 2011.12.28
Posted by theqoo
,