Integrate GSuite with Ezeelogin SSH Gateway
Note: SAML is an authentication mechanism for web applications. It's based on web protocols and it cannot be used for user authentication over SSH.
1. Login to the Google Workspace Admin console and add the application.
2. Add the application name and click on the continue button.
3. Copy SSO URL, Entity ID, Certificate and paste them into Ezeelogin GUI and save the SAML settings.
Metadata URL -> SSO URL
Entity ID -> Entity ID
Single Sign On Service URL -> SSO URL
Signing Certificate -> Certificate
4. Copy ACS URL and Entity ID from Ezeelogin GUI and paste them into google console service provider details.
ACS URl -> Assertion Consumer Service URL
Entity ID -> Entity ID
5. Map primary email with the username and click on the finish button.
6. Turn on access to every user to use the application. Click on OFF for everyone and change the access to ON for everyone and click on the save button.
7. Add a new user to use the application.
8. Change Web panel Authentication to SAML from Ezeelogin GUI > Settings > General >Authentication
9. Enable Auto Create User from Ezeelogin GUI -> Settings -> General -> Security -> Enable Auto Create User
10. Login to Ezeelogin GUI with SAML authentication.
11. After logging into GUI, you need to reset the password and security code of the SAML user under Account -> Password in order to SSH to the EZSH shell.
12. After resetting the password and security code you can ssh to the Ezsh shell (using Terminal or putty)with the SAML username as shown below in the screenshot
13. If you are SSH ing with 2FA enabled using Putty or Terminal it would prompt you to enter the 2FA codes, The 2FA step can be disabled for SAML Authentication under Settings > Two Factor Authentication> Skip Two Factor Authentication for SAML. The user will be able to ssh without being prompted for the 2FA codes only if the user is logged into the web panel, otherwise, if the user is not logged into the webpanel it would prompt for the 2FA codes.
We would recommend you to use the webssh shell when you are using SAML authentication. Using webssh shell is a lot more convenient as you would not have to worry about the SSH password or the security code for the users.
You need to add a different email address for each user. By default, Ezeelogin uses email addresses for creating users.
If you want to add an existing user in Ezeelogin to SSO, Add the user with the exact username and email address as follows. (Ezeelogin will verify with the email address of the users by default). Make sure to add the email address for the Ezeelogin Administrator user.
SAML authentication is not supported for slave if the URL is IP based. If you want to authenticate slave using SAML you have to use the domain name.