
Remotely Connect
Use the serial console to enable remote management over HTTP
Perform the following steps on the device serial console to enable remote management.
To enable remote management through the device serial console
Prepare the client for remote connection
Perform the following steps on the client to enable remote management.
To prepare the client for remote connection
Set-Item wsman:\localhost\Client\TrustedHosts -Concatenate -Force
Replace device_ip with the IP address of your device; for example:
Set-Item wsman:\localhost\Client\TrustedHosts 10.126.173.90 -Concatenate -Force
$cred = Get-Credential
Start a Windows PowerShell session on the device by typing this command:
Enter-PSSession -Credential $cred -ConfigurationName SSAdminConsole -ComputerName
Note
To create a Windows PowerShell session for use with the StorSimple virtual device, append the –Port parameter and specify the public port that you configured in Remoting for StorSimple Virtual Appliance.
At this point, you should have an active remote Windows PowerShell session to the device.
Connect through HTTPS
Connecting to Windows PowerShell for StorSimple through an HTTPS session is the most secure and recommended method of remotely connecting to your Microsoft Azure StorSimple device. The following procedures explain how to set up the serial console and client computers so that you can use HTTPS to connect to Windows PowerShell for StorSimple.
You can use either the Azure classic portal or the serial console to configure remote management. Select from the following procedures:
After you enable remote management, use the following procedures to prepare the host for a remote management and connect to the device from the remote host.
Use the Azure classic portal to enable remote management over HTTPS
Perform the following steps in the Azure classic portal to enable remote management over HTTPS.
To enable remote management over HTTPS from the Azure classic portal
Use the serial console to enable remote management over HTTPS
Enable-HcsRemoteManagement
This should enable HTTPS on your device.
Get-HcsSystem
Make sure that the RemoteManagementMode field shows HttpsEnabled.The following illustration shows these settings in PuTTY.
The serial number maps to the CN name in the certificate.
Get-HcsRemoteManagementCert
A certificate similar to the following will appear.
To generate a new certificate, use the Set-HcsRemoteManagementCert cmdlet.