Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for OpenSSH on Windows #3381

Open
samiraguiar opened this issue Mar 22, 2022 · 3 comments
Open

Add support for OpenSSH on Windows #3381

samiraguiar opened this issue Mar 22, 2022 · 3 comments

Comments

@samiraguiar
Copy link
Contributor

Is there any plans to add support for the official port of OpenSSH for Windows?
https://github.com/PowerShell/Win32-OpenSSH

It can possibly replace rss.exe altogether and provide a more unified interface for remote connections. It also has benefits over rss.exe as it provides a full shell experience with support for line buffering and editing of typed characters.

I quickly tested and right now the biggest blocker is that the prompt string is not matched by aexpect (it also contains some junk data), but it did seem promising.

Once the installer was in winutils.iso, I only needed to add the following to the answer file:

<SynchronousCommand wcm:action="add">
    <CommandLine>%WINDIR%\System32\cmd /c start /wait msiexec.exe /i "E:\OpenSSH-x64-v8.9.msi"</CommandLine>
    <Order>20</Order>
 </SynchronousCommand>
@pevogam
Copy link
Contributor

pevogam commented Mar 23, 2022

Very good idea, @luckyh do we know of maintainers on our side that do any sort of support for the various Windows components and vms in Avocado VT?

@luckyh
Copy link
Contributor

luckyh commented Mar 25, 2022

Very good idea, @luckyh do we know of maintainers on our side that do any sort of support for the various Windows components and vms in Avocado VT?

@pevogam I can take a look at this issue. However I don't know about the workflow of updating the winutils.iso image, maybe you can ask the ones who modified the file below in the past?

https://github.com/avocado-framework/avocado-vt/blame/master/virttest/shared/downloads/winutils.ini

@luckyh
Copy link
Contributor

luckyh commented Mar 25, 2022

The proposal sounds very reasonable to me, and next I think we can do some check on this tool to get know about its performability, reliability, scalability and etc..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants