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

[v0.0.18] Issue running the command mila code #88

Open
lezhang7 opened this issue Dec 21, 2023 · 0 comments
Open

[v0.0.18] Issue running the command mila code #88

lezhang7 opened this issue Dec 21, 2023 · 0 comments

Comments

@lezhang7
Copy link

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 code /home/mila/l/le.zhang/scratch/ --node cn-g027

Describe the bug

i can't connect vscode to a compute node

Traceback (most recent call last): File "/opt/anaconda3/lib/python3.9/site-packages/milatools/cli/commands.py", line 43, in main auto_cli(milatools) File "/opt/anaconda3/lib/python3.9/site-packages/coleo/cli.py", line 656, in auto_cli result = run_cli(entry, args, **kwargs) File "/opt/anaconda3/lib/python3.9/site-packages/coleo/cli.py", line 628, in run_cli return call(opts=opts, args=args) File "/opt/anaconda3/lib/python3.9/site-packages/coleo/cli.py", line 587, in thunk result = fn(*args) File "/opt/anaconda3/lib/python3.9/site-packages/milatools/cli/commands.py", line 288, in code cnode = _find_allocation(remote, job_name="mila-code") File "/opt/anaconda3/lib/python3.9/site-packages/milatools/cli/commands.py", line 699, in _find_allocation return Remote(node_name) File "/opt/anaconda3/lib/python3.9/site-packages/milatools/cli/remote.py", line 84, in __init__ connection.open() File "/opt/anaconda3/lib/python3.9/site-packages/fabric/connection.py", line 636, in open self.client.connect(**kwargs) File "/opt/anaconda3/lib/python3.9/site-packages/paramiko/client.py", line 435, in connect self._auth( File "/opt/anaconda3/lib/python3.9/site-packages/paramiko/client.py", line 766, in _auth raise saved_exception File "/opt/anaconda3/lib/python3.9/site-packages/paramiko/client.py", line 742, in _auth self._transport.auth_publickey(username, key) File "/opt/anaconda3/lib/python3.9/site-packages/paramiko/transport.py", line 1635, in auth_publickey return self.auth_handler.wait_for_response(my_event) File "/opt/anaconda3/lib/python3.9/site-packages/paramiko/auth_handler.py", line 259, in wait_for_response raise e paramiko.ssh_exception.AuthenticationException: Authentication failed.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macOS 14.0 (23A344) M1 Pro

Additional context

Add any other context about the problem here.

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

1 participant