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

BUG: username ignored for remote activate #65

Open
MihailCosmin opened this issue Aug 16, 2024 · 1 comment
Open

BUG: username ignored for remote activate #65

MihailCosmin opened this issue Aug 16, 2024 · 1 comment

Comments

@MihailCosmin
Copy link

Hello,

I have setup a remote host, which I want to connect to from another (local) computer.
I have correctly setup ssh acccess.

My hostfile.txt contains only the IP of the remote host:
10.1.1.33

If I do this:
genv remote --hostfile hostfile.txt devices
It tries to connect with my local username and asks me for password, so I added the username with --username:
genv remote --hostfile hostfile.txt --username remoteUsername devices

Now this part works and it connects without asking for password:
HOST TOTAL AVAILABLE
10.1.1.33 1 1

Total 1 devices with 1 available on 1 hosts

Next if I do this:
genv remote --hostfile hostfile.txt --username remoteUsername activate --gpus 1

It again tries to connect with local username and asks me for password, even if I mention the user to use.
I think this is a bug.

@davidLif
Copy link
Collaborator

davidLif commented Oct 10, 2024

Hello @MihailCosmin,

If you try to open a new terminal and run,
genv remote --hostfile hostfile.txt --username remoteUsername devices

Does it ask you for password?

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

2 participants