You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As suggested I switched to the native ssh connection via set('ssh_type', 'native')
When I do have an error in the setup that prevents a succesfull (ssh-)connection the error shown for the native-ssh implementation is very irritating.
Steps to reproduce
add some invalid server configuration
try to run an arbitrary task on this server
EXCEPTION [RuntimeException]
Unable to login with the provided credentials is clear to me.
switch to native ssh implementation as the warning suggests
EXCEPTION: [Symfony\Component\Process\Exception\ProcessFailedException] is irritating for me
Content of deploy.php
// compat with php < 5.6namespaceDeployer;
useSymfony\Component\Console\Input\InputArgument;
//require'recipes/rsync.php';
argument('stage', InputArgument::OPTIONAL, 'Run tasks only on this server or group of servers');
//set('ssh_type', 'native');//set('ssh_multiplexing', true);// ConfigurationserverList('servers.yml');
desc('Say Hello');
task('say_hello', function () {
writeln('Hello');
run("pwd");
});%
The text was updated successfully, but these errors were encountered:
pluseg
pushed a commit
to pluseg/deployer
that referenced
this issue
Feb 24, 2017
Description
As suggested I switched to the native ssh connection via set('ssh_type', 'native')
When I do have an error in the setup that prevents a succesfull (ssh-)connection the error shown for the native-ssh implementation is very irritating.
Steps to reproduce
Unable to login with the provided credentials is clear to me.
Content of
deploy.php
The text was updated successfully, but these errors were encountered: