incus-windows icon indicating copy to clipboard operation
incus-windows copied to clipboard

Enable OpenSSH.Server

Open kimfaint opened this issue 10 months ago • 3 comments

I have found that winrm has some limitations when trying to use it from a linux client. It doesn't support an interactive shell, which makes running some powershell commands fail that display progress output. It also doesn't support copying large files. For a linux user, ssh is also just more familiar and useful.

So I've added it to the things installed in each autounattended.xml

kimfaint avatar Feb 13 '25 11:02 kimfaint

Related to #8

I'd be happy to facilitate the inclusion of additional configuration steps to let users customize the install.

I have a local WIP branch that moves local/ to oem/ and hooks a user-provided local/main.ps1 into the install script. Would that work for you?

antifob avatar Feb 17 '25 18:02 antifob

Yes, the local => oem things sounds perfect to addresses #8

The ultimate solution is having incus-agent running on Windows, so that incus exec|shell can be used. But that may not happen for a little while 1 2. So I think SSH is the next best thing. A must have (or so I would have thought) so you can have a fully interactive shell.

Anyhow I just thought it would be useful to most people. No worries if you don't wish to include it.

kimfaint avatar Feb 18 '25 03:02 kimfaint