google authentication 설치 썸네일형 리스트형 SSH 로그인 시 Google OTP를 사용하는 2차 인증을 적용하는 방법 우분투에서 SSH 로그인 시 Google OTP(One-Time Password)를 사용하는 2차 인증을 적용하는 방법 1. OpenSSH 서버 설치 시스템에 OpenSSH 서버가 설치되어 있는지 확인하거나 설치합니다. sudo apt update sudo apt install openssh-server 2. Google Authenticator PAM 모듈 설치 Google Authenticator PAM 모듈을 시스템에 설치합니다. sudo apt install libpam-google-authenticator 3. PAM 설정 수정 PAM 구성 파일 (/etc/pam.d/sshd) 백업합니다. sudo cp /etc/pam.d/sshd /etc/pam.d/sshd_$(date '+%Y%m%d-%H%.. 더보기 이전 1 다음