Az.Ssh

Questo modulo consente di creare una connessione shell interattiva alle risorse di Azure, ad esempio macchine virtuali di Azure o Arc Servers, usando SSH (Secure Shell). La connessione può essere stabilita usando gli account Microsoft Entra o gli account del computer locale. Si noti che questo modulo richiede che OpenSSH sia installato e individuabile nel computer client. Nota importante: quando ci si connette alle risorse di Azure Arc, questo modulo richiede l'installazione anche del modulo Az.Ssh.ArcProxy nel computer client. I cmdlet tenteranno di installare il modulo da PowerShell Gallery, ma l'utente ha anche la possibilità di installarlo autonomamente. È importante che l'utente disponga anche dell'autorizzazione per eseguire i file proxy nel modulo Az.Ssh.ArcProxy oppure la connessione avrà esito negativo. Il modulo Az.Ssh.ArcServer è disponibile in PowerShell Gallery: 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.