Az.Ssh

Modul ini memungkinkan Anda membuat koneksi shell interaktif ke Sumber Daya Azure, seperti Azure VM atau Arc Server, menggunakan SSH (Secure Shell). Koneksi dapat dibuat menggunakan akun Microsoft Entra, atau akun komputer lokal. Perhatikan bahwa modul ini mengharuskan OpenSSH diinstal dan dapat ditemukan di komputer klien. Catatan penting: Saat menyambungkan ke sumber daya Azure Arc, modul ini memerlukan modul Az.Ssh.ArcProxy untuk juga diinstal di komputer klien. Cmdlet akan mencoba menginstal modul dari Galeri PowerShell, tetapi pengguna juga memiliki opsi untuk menginstalnya sendiri. Penting bahwa pengguna juga memiliki izin untuk menjalankan file Proksi dalam modul Az.Ssh.ArcProxy, atau koneksi akan gagal. Anda dapat menemukan modul Az.Ssh.ArcServer di Galeri 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.