Posted by:
admin
11 years, 4 months ago
I recently did a tutorial on how to add two-factor authentication to X2Go via pam-radius on Ubuntu. I've been playing with X2go since then on CentOS. I've released the packer.io scripts that I used to create my X2Go virtual boxes on Github. In addition, since packer can output AMIs, we've released a public AMI of the output. It is ami-c854d7a0 (based on a Rightscale image).
The AMI is almost ready for two-factor auth. You still need to edit /etc/pam.d/sshd and the line "auth sufficient pam_radius_auth.so" as the 2nd line. Also, add your radius server and shared secret to /etc/raddb/server. (I'm still working out how to allow EC2 keys and pam-radius. Any help appreciated. )
If you launch the AMI, you can add a user and that user can create a virtual desktop right away with the X2Go client. Pretty slick way to test it out.
Share on Twitter Share on Facebook