[ssh] ssh 터미널 연결 설치/ssh root 접속허용 > Linux/Tech

본문 바로가기

사이트 내 전체검색

Linux/Tech

[ssh] ssh 터미널 연결 설치/ssh root 접속허용

작성일 23-08-26 22:02

페이지 정보

작성자sbLAB 조회 973회 댓글 0건

본문

※ubuntu/ssh


[ssh 설치/활성화]

# apt update

# apt install openssh-server

# systemctl status ssh

# sudo ufw allow ssh


[ssh root 접속 허용]

# cd /etc/ssh

# nano sshd_config

----------------------------------

#PermitRootLogin prohibit-password

PermitRootLogin yes        

-----------------------------------

# systemctl restart ssh



댓글목록

등록된 댓글이 없습니다.

Copyright © 소유하신 도메인. All rights reserved.
PC 버전으로 보기