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

Use of ssh-agent when running alde #12

Open
rosogon opened this issue Jul 20, 2020 · 0 comments
Open

Use of ssh-agent when running alde #12

rosogon opened this issue Jul 20, 2020 · 0 comments
Assignees
Labels

Comments

@rosogon
Copy link

rosogon commented Jul 20, 2020

When using alde on an untrusted host, ssh keys to connect to testbeds should be passphrased-protected. ALDE can run using ssh-agent as usual:

eval $(ssh-agent)
ssh-add <protected-key>
python app.py

Everything looks working fine except:

2020-07-20 15:57:59,370 root         ERROR    Trying to execute command:  ssh ubuntu@alde ssh alde 'cat /proc/cpuinfo'
2020-07-20 15:57:59,371 root         ERROR    Error: Command ' ssh ubuntu@alde ssh alde 'cat /proc/cpuinfo'' returned non-zero exit status 255.

For fix this, ssh -A to enable forwarding could be used.

@rosogon rosogon self-assigned this Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant