Skip to content

* [JENKINS-45781] Remote ssh host management and configurable host na… - #17

Open
Ykus wants to merge 2 commits into
jenkinsci:masterfrom
Ykus:master
Open

* [JENKINS-45781] Remote ssh host management and configurable host na…#17
Ykus wants to merge 2 commits into
jenkinsci:masterfrom
Ykus:master

Conversation

@Ykus

@Ykus Ykus commented Jul 30, 2017

Copy link
Copy Markdown
  • [JENKINS-45781] Remote ssh host management and configurable host name (or alias)
    Adds possibility to name / alias SSH hosts.
    Name / alias is displayed in select box (SSH site) where you can execute remote commands or scripts in project configuration.

@jenkinsci/code-reviewers

@fliespl

fliespl commented Jun 11, 2018

Copy link
Copy Markdown

This PR would be great for upcoming release. It really helps if you connect to multiple ip based machines.

@ljader

ljader commented Jun 11, 2018

Copy link
Copy Markdown
Member

IMHO this should be more in form of a "naming strategy" where you pick from combo-box whether you like the old, user@hostname or "aliased one" - it would be easier to implement custom ones e.g. based on job's binded credentials etc.

@fliespl

fliespl commented Jun 12, 2018

Copy link
Copy Markdown

But that's how it was prepared, isn't it?

Name/Alias is optional and if it's empty it will fallback to default value user@hostname.

@ljader

ljader commented Jun 12, 2018

Copy link
Copy Markdown
Member

I'm not against this PR, but IMHO if I'm defining an "alias" I expect the original information to be hidden (aliased) entirely - and in the PR it works more in a "prefix" way.

@Ykus

Ykus commented Jun 14, 2018

Copy link
Copy Markdown
Author

I think, that this solution Name / alias - SSH host is better than just an Name / alias. And it does not matter if we call it alias or prefix. I think it will improve user experience.

@daolou

daolou commented Sep 27, 2018

Copy link
Copy Markdown

@ljader
Excuse me, I have a problem:
jenkins: v2.138.1
ssh-plugin: v2.6.1
the "Add Credentials" button don't work, how to do???

Otherwise, I have only one server, I wanna deploy a nodejs project though jenkins with docker on it,
so, what should I do?

@ilaipi

ilaipi commented May 18, 2020

Copy link
Copy Markdown

I think this is very useful, hope to be merged

@bsramin

bsramin commented Nov 4, 2020

Copy link
Copy Markdown

any news about this essential PR for environments where there are dozens of external servers?

Thanks! :)

@Ykus

Ykus commented Nov 19, 2020

Copy link
Copy Markdown
Author

I have created a release version with this PR https://github.com/Ykus/ssh-plugin/releases/tag/ssh-2.7-SNAPSHOT
You can build it by yourself or use ssh-2.7-SNAPSHOT.hpi from link above.

If the owner of this plugin will come up with exact definition how this improvements should work I can change the behavior.
Otherwise it doesn't make sense to work on something that's not accepted.

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

Successfully merging this pull request may close these issues.

6 participants