Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- ssh key 배포
- elastic stack
- docker
- freebsd
- 보안양파
- Elasticsearch
- Proxy
- Windows
- macos
- ansible
- Kibana
- 로그인불가
- PlayBook
- 한글가이드
- x-pack
- xe guest utilities
- ELASTIC
- proxycfg
- application security
- bash
- pfsense
- Kibana server is not ready yet
- GitLab
- hardening
- XCP-ng
- G-suite
- endpoint security
- centos 8
- miniconda
Archives
- Today
- Total
선 밖에 선 자유인
리눅스 SSH Google OTP 연동 본문
https://www.lesstif.com/pages/viewpage.action?pageId=24444948
$ sudo apt install libpam-google-authenticator
/etc/ssh/sshd_config 설정
PasswordAuthentication yes
ChallengeResponseAuthentication yes
UsePAM yes
PermitEmptyPasswords no
/etc/pam.d/sshd 파일에 아래 내용 추가
auth required pam_google_authenticator.so nullok
$ sudo systemctl restart sshd
사용자 계정에서 google-authenticator 실행하여 등록
$ google-authenticator
* Cockpit 은 아래 내용 추가
/etc/pam.d/cockpit
auth required pam_google_authenticator.so 추가
Comments