Federate SSH confection

0

Hi, Is there a way to federate the SSH connection with O 365 accounts? I am looking to get the benefit of SSO with the SSH connection to my EC2 instances.

1개 답변
0

Yes, it is possible to use single sign-on (SSO) with SSH connections to Amazon Elastic Compute Cloud (EC2) instances using Azure Active Directory (AAD) and the Azure AD Application Proxy. Here is a high-level overview of the process:

Set up Azure AD and the Application Proxy: If you don't already have an Azure AD tenant, you will need to create one. Then, you will need to enable the Application Proxy service in Azure AD. Create an Azure AD application:

In the Azure AD portal, create a new application. Select "Web application and/or Web API" as the type of application. Set the Sign-on URL to the URL of the Application Proxy service.

Configure the Azure AD application:

In the Azure AD portal, configure the application to use SAML-based single sign-on. Set the reply URL to the URL of the Application Proxy service.

Set up the SSH server: On the EC2 instance, install and configure an SSH server that supports SAML authentication, such as the open-source OpenSSH server.

Follow the instructions for the chosen SSH server to configure SAML authentication using the metadata provided by the Azure AD application.

Connect to the SSH server: To connect to the SSH server, you will need to use an SSH client that supports SAML authentication, such as the open-source OpenSSH client.

Follow the instructions for the chosen SSH client to authenticate using your O365 account via SAML. I hope this helps! Let me know if you have any questions.

SeanSi
답변함 일 년 전
  • Thank you! But seems this solution is for integration with On-Prem servers. I am looking to get the following: Use the Office 365 credentials (Azure AD accounts) to SSH the AWS ec2 instances. Would you please rephrase your answer?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠