We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a production server with git version 2.17.1 I'm using capistrano 3.11
Deploy my project with cap production deploy
cap production deploy
Deploy process stop with DEBUG [5215ee6f] fatal: ssh variant 'simple' does not support setting port
DEBUG [5215ee6f] fatal: ssh variant 'simple' does not support setting port
In newer version of git (newer than 2.16.0) we have to specify ssh variant Stackowerflow link
ssh variant
To solve the problem I have to put this code to deploy.rb for git configuration:
set :git_environmental_variables, lambda { { git_ssh_variant: "ssh", git_askpass: "/bin/echo", git_ssh: fetch(:git_wrapper_path) } }
It should be a config parameter for deploy.rb to configure ssh_variant.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a production server with git version 2.17.1
I'm using capistrano 3.11
Expected behavior
Deploy my project with
cap production deploy
Actual behavior
Deploy process stop with
DEBUG [5215ee6f] fatal: ssh variant 'simple' does not support setting port
Solution
In newer version of git (newer than 2.16.0) we have to specify
ssh variant
Stackowerflow link
To solve the problem I have to put this code to deploy.rb for git configuration:
It should be a config parameter for deploy.rb to configure ssh_variant.
The text was updated successfully, but these errors were encountered: