자유게시판

오라클 클라우드 root 계정으로 SSH 접속하기

페이지 정보

profile_image
작성자천사 조회 10,522회 작성일 2021-10-28 16:40:02 댓글 0

본문

1. sudo passwd root 로 루트 비밀번호 만들어주기

2. /etc/ssh/sshd_config 설정 변경하기

#PermitRootLogin prohibit-password -> PermitRootLogin yes

루트로 로그인 허용

3. PasswordAuthentication no -> PasswordAuthentication yes

비밀번호 로그인 허용

4. service sshd restart

SSH 재시작

댓글목록

등록된 댓글이 없습니다.

Copyright © Claw’s Lab · blog.batifa.com