[JIRA] (JENKINS-50308) EC2 Plugin - Windows sshd support - use ssh + pubkey option instead of winrm

6 views
Skip to first unread message

bek@monsterous.com (JIRA)

unread,
Mar 21, 2018, 12:31:02 AM3/21/18
to jenkinsc...@googlegroups.com
Brian Kruger created an issue
 
Jenkins / Improvement JENKINS-50308
EC2 Plugin - Windows sshd support - use ssh + pubkey option instead of winrm
Issue Type: Improvement Improvement
Assignee: Francis Upton
Components: ec2-plugin
Created: 2018-03-21 04:30
Priority: Minor Minor
Reporter: Brian Kruger

It would be nice to have the option to use ssh with windows on ec2.  Currently, we don't have that option and forced to use WinRM.  Unfortunately, 

I have a working example of a windows instance that runs opensshd if that would be helpful.

 

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

mr.akbashev@gmail.com (JIRA)

unread,
Apr 11, 2018, 4:27:02 PM4/11/18
to jenkinsc...@googlegroups.com

n3v3rf411@gmail.com (JIRA)

unread,
Jun 4, 2019, 10:49:03 PM6/4/19
to jenkinsc...@googlegroups.com

raihaan.shouhell@autodesk.com (JIRA)

unread,
Aug 11, 2019, 10:55:02 PM8/11/19
to jenkinsc...@googlegroups.com

If you configure a windows instance as a unix node with the appropriate user and temp directory it should connect, have you tried that?

bek@monsterous.com (JIRA)

unread,
Nov 20, 2019, 2:03:03 AM11/20/19
to jenkinsc...@googlegroups.com

It's been a couple of years,  but no, it didn't work. (Maybe win10 is different).  There was a lot of hard coding of things. (Pkg manager to install ssh related items, paths to executables, etc.)

 

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

n3v3rf411@gmail.com (JIRA)

unread,
Nov 20, 2019, 2:07:03 AM11/20/19
to jenkinsc...@googlegroups.com

n3v3rf411@gmail.com (JIRA)

unread,
Nov 20, 2019, 2:10:04 AM11/20/19
to jenkinsc...@googlegroups.com
Willie Loyd Tandingan commented on Improvement JENKINS-50308
 
Re: EC2 Plugin - Windows sshd support - use ssh + pubkey option instead of winrm

I was able to make this work by modifying the plugin: https://github.com/n3v3rf411/ec2-plugin/commit/97d6173c324fd8a036f793687919153be21721a7

This adds the following connection type:

 

We are currently using this in production to perform tasks on Windows servers.

 

Reply all
Reply to author
Forward
0 new messages