![sshd_config의 PermitListen 옵션이 작동하지 않습니다.](https://linux55.com/image/175303/sshd_config%EC%9D%98%20PermitListen%20%EC%98%B5%EC%85%98%EC%9D%B4%20%EC%9E%91%EB%8F%99%ED%95%98%EC%A7%80%20%EC%95%8A%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
sshd_config
내 파일 에 다음을 넣으려고합니다 .
Match User apricot
PermitListen 53000
명령을 통해 OpenSSH 서버를 다시 시작 service sshd restart
하지 못했습니다. 이 명령은 journalctl -xe
다음과 같은 관련 오류를 표시합니다.
/etc/ssh/sshd_config: line 133: Bad configuration option: PermitListen
/etc/ssh/sshd_config line 133: Directive 'PermitListen' is not allowed within a Match block
제가 문서를 살펴봤을 때 블록 아래에서 사용할 man sshd_config
수 있어야 한다고 말했기 때문에 이것은 이상합니다 .PermitListen
Match
남자 7같은 말을 하세요.
저는 OpenSSH_7.6p1에서 동일한 오류가 발생한 후 소스에서 빌드된 "OpenSSH_8.3p1, OpenSSL 1.1.1 2018년 9월 11일" 버전을 사용하고 있습니다.
운영 체제 버전: Ubuntu 18.04.3 LTS
내가 뭘 잘못하고 있는지 아는 사람 있나요?