Linux/Linux_technic

Ubuntu에서 SSHD 데몬 설치하여 접속하기

sosal 2014. 8. 14. 14:20
반응형

/*

 http://sosal.kr/
 * made by so_Sal
 */



Ubuntu 환경에서 SSHD를 설치하는 명령어는 다음과 같습니다.



Installation

Installation of the OpenSSH client and server applications is simple. To install the OpenSSH client applications on your Ubuntu system, use this command at a terminal prompt:

sudo apt-get install openssh-client

To install the OpenSSH server application, and related support files, use this command at a terminal prompt:

sudo apt-get install openssh-server




한방에 둘다 설치하고 싶으시다면

sudo apt-get install openssh-server openssh-client


끝에 -y까지 쳐주시면 자동으로 받아서 설치까지 합니다.


sudo /etc/init.d/ssh restart


이렇게 ssh 데몬을 활성화 시켜준 이후에 자신의 ip를 봅니다.


ifconfig


제 로컬 ip는 192.168.159.130 이니, Putty로 아래와같이 ip를 입력해주시고 접속하시면 됩니다.







- PuTTY로 SSHD를 이용하여 우분투에 접속하기