-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
use the ssh-config-file with the actual ssh cmd #979
Comments
Config file is used only for getting config about servers. |
Thanks @Elfet for your fast response. |
You want to not to use config file? |
There actually a research #980 from me, i'm going to improve whole ssh system at deployer. |
I want to use the native ssh implementaion and use the config file as a parameter. Like this:
And I like the approach of using native ssh :) |
@mwr i will implement this. All |
@Elfet looking forward to that. Will be a great addition. |
@Elfet please close the ticket as it's done. |
Description
One can provide the server config with a configFile like this:
$production->configFile('path/to/file');
In the first place I assumed this file would then be used with the actual ssh command.
But as it turns out is just used to gather some information out of it.
So is there a reason why this is not done?
See here:
https://github.com/deployphp/deployer/blob/master/src/Server/Remote/NativeSsh.php#L51
In my local dev environment I added
-i path/to/file
in the above mentioned class and it worked out well.The text was updated successfully, but these errors were encountered: