Feature #15214
closedAlternate port for SSH for certain hosts
Description
Would be great if there was a way to specify a custom port for certain hosts when using remote execution over SSH (like: ssh -p 22222 user@host).
Updated by Marek Hulán over 8 years ago
- Category changed from Smart Proxy - SSH to Foreman
Would using a host parameter be enough? It can be configured globally, per host group, domain, os, organization, location, host. Default value would be set globally for 22.
Updated by Cyril Stoll over 8 years ago
Hi
Marek Hulán wrote:
Would using a host parameter be enough? It can be configured globally, per host group, domain, os, organization, location, host. Default value would be set globally for 22.
Not sure if that question was meant for me or the developers or the whole community. In my opinion that sounds like a great solution with a lot of flexibility. In our company we would only use it for certain hosts (not whole groups of hosts) since no two hosts use the same port (aside of course those who do use port 22). Nevertheless as far as I understand you that would be a perfect solution for this.
Thanks a lot and best regards,
Cyril
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/196 added
Updated by The Foreman Bot over 8 years ago
- Pull request https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/27 added
Updated by Cyril Stoll over 8 years ago
Hi there
First of all I want to thank everybody who has been working on this issue/feature, I really appreciate that!
Really hope I don't mess up anything with this comment. If this comment does not belong here feel free to delete it (and maybe drop me an email).
It looks like it should be tested which I'm happy to do but I don't know how. I installed foreman via apt-get and therefore guess that I can't just fetch the changes from github. I could just manually change the files but am not sure if I might be missing something. Do I just have to change those 3 files (https://github.com/theforeman/foreman_remote_execution/pull/196/files) and those 4 files (https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/27/files) and restart apache/foreman-proxy?
Furthermore in the meantime I already updated to Foreman 1.12.1. Will the same changes work or where those changes just for Foreman 1.11.x?
Thanks and best regards,
Cyril
Updated by Ivan Necas over 8 years ago
- Related to Feature #16018: Support for alternate port for SSH for certain hosts on smart proxy added
Updated by Ivan Necas over 8 years ago
- Target version changed from 1.7.0 to 1.6.1
Updated by Ivan Necas over 8 years ago
- Translation missing: en.field_release set to 179
Updated by Ivan Necas about 8 years ago
- Status changed from Ready For Testing to Closed
Updated by Marek Hulán almost 8 years ago
- Translation missing: en.field_release deleted (
179)
added in 1.2.2, seems like rex is no longer using release field so at least removing so it's not confusing