1. sudo -s 로 root권한을 얻는다.
2. vi /etc/ssh/sshd_config 파일을 편집한다.
3. 아래 두개를 주석처리한다. 앞에 #붙이면됨 사진 참고
PermitRootLogin without-password
StrictModes yes
4. service ssh restart
5. 끝 이제 ssh에서 root로 접속이 된다.
'Infra & Server Dev' 카테고리의 다른 글
html 이미지 파일 업로드전 높이,너비 사이즈 측정 (0) | 2015.04.08 |
---|---|
스프링 jsonView참고 url (0) | 2015.03.26 |
[Openfire]오픈파이어 소스 이클립스(Eclipce) import 하는법 (0) | 2015.02.05 |
이클립스 4.4.1(Luna) fat jar 0.0.32설치 (2) | 2015.01.16 |
[맥]이클립스 메모리 늘리기 (0) | 2015.01.08 |