Az.Ssh

このモジュールでは、SSH (Secure Shell) を使用して、Azure VM や Arc Server などの Azure リソースへの対話型シェル接続を作成できます。 接続は、Microsoft Entra アカウントまたはローカル コンピューター アカウントを使用して確立できます。 このモジュールでは、クライアント コンピューターに OpenSSH をインストールして検出できる必要があることに注意してください。 重要な注意: Azure Arc リソースに接続する場合、このモジュールでは Az.Ssh.ArcProxy モジュールもクライアント コンピューターにインストールする必要があります。 コマンドレットはPowerShell ギャラリーからモジュールのインストールを試みますが、ユーザーはモジュールを自分でインストールすることもできます。 ユーザーが Az.Ssh.ArcProxy モジュールでプロキシ ファイルを実行するアクセス許可を持っているか、接続が失敗することが重要です。 Az.Ssh.ArcServer モジュールは、PowerShell ギャラリーにありますhttps://aka.ms/PowerShellGallery-Az.Ssh.ArcProxy

SSH

Enter-AzVM

Starts an interactive SSH session to an Azure Resource (such as Azure VMs or Arc Servers). Users can login using Microsoft Entra accounts, or local user accounts via standard SSH authentication. Use Microsoft Entra account login for the best security and convenience.

Export-AzSshConfig

This cmdlet exports an SSH configuration file that can be used to connect to Azure Resources through client applications that support OpenSSH config and certificates. SSH config files can be created that use Microsoft Entra ID issued certificates or local user credentials.