run-ai / genv

GPU environment and cluster management with LLM support
https://www.genv.dev
GNU Affero General Public License v3.0
496 stars 24 forks source link

BUG: username ignored for remote activate #65

Open MihailCosmin opened 3 months ago

MihailCosmin commented 3 months ago

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 commented 1 month ago

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?