You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am following the setup procedure as in the user guide. After successfully installing milatools, 'mila init' command fails with traceback:
File "/home/mptouzel/miniconda3/lib/python3.10/site-packages/milatools/cli/commands.py", line 82, in main
mila()
File "/home/mptouzel/miniconda3/lib/python3.10/site-packages/milatools/cli/commands.py", line 385, in mila
return function(**args_dict)
File "/home/mptouzel/miniconda3/lib/python3.10/site-packages/milatools/cli/commands.py", line 455, in init
success = setup_passwordless_ssh_access(ssh_config=ssh_config)
File "/home/mptouzel/miniconda3/lib/python3.10/site-packages/milatools/cli/init_command.py", line 252, in setup_passwordless_ssh_access
success = setup_passwordless_ssh_access_to_cluster("mila")
File "/home/mptouzel/miniconda3/lib/python3.10/site-packages/milatools/cli/init_command.py", line 298, in setup_passwordless_ssh_access_to_cluster
assert ssh_public_key_path.exists()
AssertionError
Desktop (please complete the following information):
WSL2 on Windows 11
The text was updated successfully, but these errors were encountered:
Hi @mptouzel , I came across the same issue weeks ago #140
I fixed it by manually adding the SSH keys.
You can first check if the SSH keys id_rsa and id_rsa.pub by running ls ~/.ssh. If not(which is my case), you can create by running ssh-keygen -t rsa -b 4096 -C "<user>@mila.quebec" then copy it to the server using ssh-copy-id -i ~/.ssh/id_rsa -p 2222 user@login.server.mila.quebec
What command did you run?
mila init
Describe the bug
I am following the setup procedure as in the user guide. After successfully installing milatools, 'mila init' command fails with traceback:
File "/home/mptouzel/miniconda3/lib/python3.10/site-packages/milatools/cli/commands.py", line 82, in main
mila()
File "/home/mptouzel/miniconda3/lib/python3.10/site-packages/milatools/cli/commands.py", line 385, in mila
return function(**args_dict)
File "/home/mptouzel/miniconda3/lib/python3.10/site-packages/milatools/cli/commands.py", line 455, in init
success = setup_passwordless_ssh_access(ssh_config=ssh_config)
File "/home/mptouzel/miniconda3/lib/python3.10/site-packages/milatools/cli/init_command.py", line 252, in setup_passwordless_ssh_access
success = setup_passwordless_ssh_access_to_cluster("mila")
File "/home/mptouzel/miniconda3/lib/python3.10/site-packages/milatools/cli/init_command.py", line 298, in setup_passwordless_ssh_access_to_cluster
assert ssh_public_key_path.exists()
AssertionError
Desktop (please complete the following information):
WSL2 on Windows 11
The text was updated successfully, but these errors were encountered: