-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Is it possible to specify ssh port in pm2-deploy #880
Comments
+1 |
I am succeed with configuration like this, deploy : {
production : {
user : "ubuntu",
host: [
{
host : "121.201.7.226",
port: "58020"
},
{
host : "192.168.33.80",
port: "22"
}
],
... See #31 |
Tip: Port must be a string; otherwise, it won't work. |
@pittersnider that caught me off-guard and certainly needs to be fixed. Preparing PR. |
|
This was referenced Jan 12, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In case of the remote target is behinds firewall. The default ssh port 22 may be mapped to a different port.
I try to setup host with
host:port
format, but no lucky.The text was updated successfully, but these errors were encountered: