Replies: 1 comment
-
|
Fixed in https://github.com/deployphp/deployer/releases/tag/v8.0.3 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Deployer Version
8.0.2
Target OS
MacOS
Which PHP version are you using?
PHP 8.5
Content of deploy.php or deploy.yaml
deployer/src/Command/SshCommand.php
Line 100 in 08a2346
Multiple SSH options are glued together without a delimiter. This means (for example) when a Port (i.e. 151) is configured, and also Agent Forwarding is enabled, that the SSH options are generated like this:
ssh .... -p 151-Awhich results in the following warning when trying to connect usingdep ssh:Bad port '151-A'
In Depoyer v7.x this was no issue since implode() was used using a space (' ') as delimiter: https://github.com/deployphp/deployer/blob/7.x/src/Host/Host.php#L280
But for now, I think the most easy way to solves this, is replacing line 100 from
$connOptions .= quote($option);to
$connOptions .= quote($option).' ';Steps to reproduce
Make sure keyforwarding is enabled and a port is set on the host. Then try to connect using
dep sshBeta Was this translation helpful? Give feedback.
All reactions