Skip to content

Conversation

@Ykus
Copy link

@Ykus Ykus commented Jul 30, 2017

  • [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
Copy link

fliespl commented Jun 11, 2018

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

@ljader
Copy link
Member

ljader commented Jun 11, 2018

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
Copy link

fliespl commented Jun 12, 2018

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
Copy link
Member

ljader commented Jun 12, 2018

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
Copy link
Author

Ykus commented Jun 14, 2018

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
Copy link

daolou commented Sep 27, 2018

@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
Copy link

ilaipi commented May 18, 2020

I think this is very useful, hope to be merged

@bsramin
Copy link

bsramin commented Nov 4, 2020

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

Thanks! :)

@Ykus
Copy link
Author

Ykus commented Nov 19, 2020

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