#패키지 업데이트하기
sudo apt update
#SSH서버 설치하기
sudo apt install openssh-server
#ssh셋팅하기
sudo systemctl enable ssh
#ip주소 확인하기
sudo apt install net-tools
ifconfig
#호스트키 생성
sudo ssh-keygen -A
#비밀번호 인증방식 사용
sudo nano /etc/ssh/sshd_config
#다음 내용을 수정합니다.
PasswordAuthentication no >> yes
#ssh 서비스 시작
sudo service ssh start
728x90
'OS > windows' 카테고리의 다른 글
win10 | 원격접속 포트 변경 (0) | 2023.06.21 |
---|---|
wsl | ubuntu init에서 systemctl로 변경 (0) | 2023.06.19 |
CLI로 PC에 저장된 Wi-fi 비밀번호 찾기 (0) | 2023.06.14 |
windows 10 | wsl directory path (0) | 2023.02.20 |
winSVR_SCP이용하여 리눅스로 파일전송 (0) | 2022.10.09 |