Server Fault Asked by Andre Figueiredo on November 10, 2021
I want to run Nano Server in a Virtualbox virtual machine in a Linux host, but it seems that Nano Server only accepts access via WinRM using PowerShell.
I would prefer to find a way to access via ssh as it’s possible with other Windows to incorporate tasks with this machine in my automation in Linux environment.
How can I access Nano Server via ssh?
Is there a clever workaround?
You'll want to setup and install OpenSSH on the nano server. Unfortunately, you'll have to initially do it via the Powershell remoting shell.
Basically, the article outlines:
Answered by enorl76 on November 10, 2021
There is a powershell module called Posh-SSH
. If you install the module you've a New-SSHSession cmdlet. See this link. Based on this you can SSH to your Nano Server installation. To add SSH server capability to Nano Server you've to install Win32-OpenSSH (the link points to the install instructions).
Answered by Moerwald on November 10, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP