vnc + otp 를 하려 했으나 안되는듯 하다.
그래서 nomachine 으로 적용.
https://www.nomachine.com/download
NoMachine - Free Remote Desktop For Everybody
NoMachine for the Enterprise When remote desktop gets serious, you need a serious tool to do the job. NoMachine satisfies any enterprise remote access scenario and scales to fit your unique IT delivery needs. Be in control of your own data, hosted desktops
www.nomachine.com
다운 후 설치
# yum install nomachine_6.7.6_11_x86_64.rpm
yum 으로 보통 설치 하는 경우는 다른 필요한 패키지가 있으면 자동으로 설치가 되서 그렇다.
# yum install google-authenticator
https://www.nomachine.com/AR12L00828&an=googleauthenticator#4.2.
NoMachine - Free Remote Desktop For Everybody
NoMachine for the Enterprise When remote desktop gets serious, you need a serious tool to do the job. NoMachine satisfies any enterprise remote access scenario and scales to fit your unique IT delivery needs. Be in control of your own data, hosted desktops
www.nomachine.com
위에 옵션에 있는것처럼 자신의 환경에 내용을 추가 하면 된다.
# vi /etc/pam.d/sshd
auth required pam_google_authenticator.so secret=${HOME}/.ssh/google_authenticator
추가
# vi /etc/pam.d/nx
auth required pam_google_authenticator.so secret=${HOME}/.ssh/google_authenticator
추가
nomachine 설치하면 nx 가 생긴다.
https://algo79.tistory.com/609
google-authenticator ssh otp 적용
구글 otp 프로그램 설치 centos 기준 # yum install pam-devel gcc autoconf automake libtool -y # yum install epel-release -y # yum install google-authenticator -y # google-authenticator -t -d --label w..
algo79.tistory.com
설명한것 처럼 구글 otp 만들면 된다.
'Linux' 카테고리의 다른 글
centos latex install (0) | 2019.10.04 |
---|---|
openvas install (0) | 2019.09.20 |
FAILED with error NT_STATUS_WRONG_PASSWORD, authoritative=1 (0) | 2019.09.10 |
google-authenticator ssh otp 적용[google otp] (0) | 2019.09.05 |
mount: wrong fs type, bad option, bad superblock on /data (0) | 2019.09.03 |