리눅스 설치
2023. 9. 11. 13:56ㆍ사설 클라우드/ESXi
이미지 업로드
가상시스템 생성
ubuntu 22.04LTS
비슷한 방법으로 ubuntu 22.04LTS도 설치해 보자.
apt install net-tools
apt-get -y install openssh-server
ufw disable
ssh 설정 변경
nano /etc/ssh/sshd_config
port 22
ListenAddress 0.0.0.0
PermitRootLogin yes
PasswordAuthentication yes
서비스 실행
systemctl restart(enable) ssh
유저 생성 및 권한 부여
adduser ssh
12345
12345
엔터
...
y
vi /etc/sudoers
root ALL=(ALL:ALL) ALL
ssh ALL=(ALL:ALL) ALL