Make sure you can reproduce the issue with the latest version available
pip install milatools --upgrade
[milatools command e.g. mila code ...]
What command did you run?
mila init
Describe the bug
A clear and concise description of what the bug is. If there is an error
traceback, please paste it here.
Traceback (most recent call last):
File "C:\Users\mattm\AppData\Local\Programs\Python\Python310\lib\site-packages\milatools\cli\commands.py", line 87, in main
mila()
File "C:\Users\mattm\AppData\Local\Programs\Python\Python310\lib\site-packages\milatools\cli\commands.py", line 430, in mila
return function(**args_dict)
File "C:\Users\mattm\AppData\Local\Programs\Python\Python310\lib\site-packages\milatools\cli\commands.py", line 500, in init
success = setup_passwordless_ssh_access(ssh_config=ssh_config)
File "C:\Users\mattm\AppData\Local\Programs\Python\Python310\lib\site-packages\milatools\cli\init_command.py", line 256, in setup_passwordless_ssh_access
success = setup_passwordless_ssh_access_to_cluster("mila")
File "C:\Users\mattm\AppData\Local\Programs\Python\Python310\lib\site-packages\milatools\cli\init_command.py", line 345, in setup_passwordless_ssh_access_to_cluster
subprocess.run(command, check=True, text=False, stdin=f)
File "C:\Users\mattm\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('ssh', '-i', 'C:\Users\mattm\.ssh\id_rsa', '-o', 'StrictHostKeyChecking=no', 'mila', 'cat >> ~/.ssh/authorized_keys')' returned non-zero exit status 255.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows 11
Additional context
Not sure if this is because I haven't been granted access to the cluster yet? I completed the IT onboarding Google classroom, is there something else I have to do too?
Make sure you can reproduce the issue with the latest version available
What command did you run?
mila init
Describe the bug
A clear and concise description of what the bug is. If there is an error traceback, please paste it here.
Traceback (most recent call last): File "C:\Users\mattm\AppData\Local\Programs\Python\Python310\lib\site-packages\milatools\cli\commands.py", line 87, in main mila() File "C:\Users\mattm\AppData\Local\Programs\Python\Python310\lib\site-packages\milatools\cli\commands.py", line 430, in mila return function(**args_dict) File "C:\Users\mattm\AppData\Local\Programs\Python\Python310\lib\site-packages\milatools\cli\commands.py", line 500, in init success = setup_passwordless_ssh_access(ssh_config=ssh_config) File "C:\Users\mattm\AppData\Local\Programs\Python\Python310\lib\site-packages\milatools\cli\init_command.py", line 256, in setup_passwordless_ssh_access success = setup_passwordless_ssh_access_to_cluster("mila") File "C:\Users\mattm\AppData\Local\Programs\Python\Python310\lib\site-packages\milatools\cli\init_command.py", line 345, in setup_passwordless_ssh_access_to_cluster subprocess.run(command, check=True, text=False, stdin=f) File "C:\Users\mattm\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '('ssh', '-i', 'C:\Users\mattm\.ssh\id_rsa', '-o', 'StrictHostKeyChecking=no', 'mila', 'cat >> ~/.ssh/authorized_keys')' returned non-zero exit status 255.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Not sure if this is because I haven't been granted access to the cluster yet? I completed the IT onboarding Google classroom, is there something else I have to do too?