라즈베리파이를 처음 사용할 때, 포트 포워딩 문제가 발생했습니다.
이는 내부에서 포트포워딩을 안해줬기 때문에 SSH 서비스가 작동하지 않기 때문입니다.
1. sudo raspi-config - interface options - SSH - enable
2. 포트 번호 수정 (/etc/ssh/sshd_config)
- #port 22 -> port [원하는 포트 번호로 수정] ( 22번 을 제외한 1024번호 이후로 수정)
sshd_config 란 외부에서 내부에 접속할 때 사용하는 설정 파일
혹시 포트 번호를 22번으로 진행해서 안될경우 다른 1024번 이후로 설정하시는 것을 추천드립니다.
'etc > 라즈베리파이' 카테고리의 다른 글
라즈베리파이 초기 아이디, 비밀번호 (0) | 2021.06.10 |
---|