Skip to content
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

Execution in ssh mode fails #327

Open
sathiyajith opened this issue May 5, 2021 · 1 comment
Open

Execution in ssh mode fails #327

sathiyajith opened this issue May 5, 2021 · 1 comment

Comments

@sathiyajith
Copy link

When using node down experiment, I got a error - NOOP, cant execute ssh commands in kubernetes mode.
Then I used the --execution-mode=ssh argument while running the experiment.
Then I got this error -
INFO paramiko.transport Authentication (publickey) failed.
ERROR ssh_executor Executing '['sh', '-c', 'ls']' on local-100.77.46.190 failed with error: Error creating SSH connection
Original error: Authentication failed.

Can anyone please mention the solution or workaround here.

@sathiyajith
Copy link
Author

Ok I spent hours to find out that the problem is in the arguments that are passed, not in the authentication of public key. It is trying to use ssh commands using an arbitrary fake user (fake-ip@ip).
That was the reason, it was failing. So, we need to pass, --remote-user=USERNAME. So, If the maintainers create a separate doc pag for commands, it would be very useful.
Also, If there is any slack channel, Please do add me there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant