[ aws ] aws ec2 root 계정 활성화 > aws

본문 바로가기

사이트 내 전체검색

aws

[ aws ] aws ec2 root 계정 활성화

작성일 20-11-17 19:04

페이지 정보

작성자 웹지기 조회 4,067회 댓글 0건

본문

aws ec2에 접속하면 사용자 계정으로 접속하고 root는 접속이 제한되어있다

활성화 시켜보자

root 암호설정 

> sudo passwd root

> Changing password for user root.

> New password:

> Retype new password:  

 

암호설정이후 막혀있는 root를 열어주자

> sudo vim /etc/ssh/sshd_config

#PermitRootLogin yes

#StrictModes yes

#MaxAuthTries 6

#MaxSessions 10

부분의 PermitRootLogin yes #을 제거해서 주석을 없애고 저장.

 


추천0

비추천 0

댓글목록

등록된 댓글이 없습니다.

전체 1건 1 페이지

이미지 목록

게시물 검색
Copyright © 즐거운 코딩 생활 ( funyphp ). All rights reserved.
PC 버전으로 보기