Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Failed to read private key: /root/.ssh/id_rsa #9

Open
RameshOswal opened this issue Jun 23, 2023 · 1 comment
Open

Failed to read private key: /root/.ssh/id_rsa #9

RameshOswal opened this issue Jun 23, 2023 · 1 comment

Comments

@RameshOswal
Copy link

$ sudo docker run -it --rm -v ~/.ssh:/root/.ssh runai/rntop ubuntu@x.x.x.x
Error authenticating client side: Failed to read private key: /root/.ssh/id_rsa
terminate called after throwing an instance of 'std::exception'
what(): std::exception

Any idea how I can resolve this error?

@razrotenberg
Copy link
Contributor

hi @RameshOswal
my guess is that there are permission issues in your setup.
you can verify it by running:

sudo docker run -it --rm -v ~/.ssh:/root/.ssh --entrypoint bash runai/rntop cat /root/.ssh/id_rsa

you might need to add permissions to $HOME/.ssh on the host.
you can try to add read permissions to all users.

pls let me know if it helped.

in addition to that, I have to say that we are planning to deprecate rntop in favor of Genv remote monitoring capabilities.

Genv is another open source project by us which is a GPU cluster orchestrator, and should eventually replace rntop.
At the moment not all rntop features are implemented in Genv but they will be.

My question is do you use rntop to monitor a single machine or multiple machines?
And will you be able to install Genv on all these machines using pip install (here is more information)?

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

No branches or pull requests

2 participants