-
Notifications
You must be signed in to change notification settings - Fork 297
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
Can the syncoid SSH port be specified on the command line? #51
Comments
Looking at the code for the syncoid script, on line 40, it has a check to see if $args{'sshport'} is set. So I am getting if you do -sshport=2223 it would take it. |
This is correct; sshport was a recently merged pull. It works as described. Sent from my phone - please forgive any autocorrect / swipe errors. On September 26, 2016 7:31:59 AM Phillip Ferland notifications@github.com
|
Syncoid should honor nearly anything set in ssh_config, including port Sent from my phone - please forgive any autocorrect / swipe errors. On September 26, 2016 7:21:03 AM Edmund White notifications@github.com wrote:
|
Yes, the |
A customer uses SSH port 2223 for the source server I'll be replicating from in syncoid. I have entries in /etc/ssh/ssh_config for the hostname to force port 2223:
I don't think syncoid honors this, so I'm looking for the cleanest way to be able to modify the SSH port on the fly without hardcoding the script.
The text was updated successfully, but these errors were encountered: