Skip to content

AuthenticationException on test #387

Description

@saswat0

Subject of the issue

I'm trying to setup tensorhive on a system and get the following error upon running tensorhive test (I've masked the hostname by a dummy name)

CRITICAL | 2024-05-03 23:53:08 | MainThread                     | MSG: [✘] hostname.univ.edu FAILED (exit code: None, exception: AuthenticationException) | FROM: tensorhive.core.managers.SSHConnectionManager

Your environment

List relevant info:

  • OS: Ubuntu 20.04, Python 3.6
  • TensorHive version (built from master)
  • Versions of installed dependencies
  • Essential hardware specs (GPU model)

Steps to reproduce

I have created a user named tensorhive in the node. I can SSH into it from my laptop and from the node itself without password (by copying the SSH public key). The node is accessible by user@hostname.univ.edu. However, when I run tensorhive test, I get this error.

My hosts_config.ini looks like this

[hostname.univ.edu]
user = user
port = 22
tensorhive init
tensorhive test

Expected behaviour

App should launch without errors

Actual behaviour

INFO     | 2024-05-04 00:11:26 | MainThread                     | MSG: [⚙] Testing SSH connections using key: ~/.config/TensorHive/ssh_key             | FROM: tensorhive.core.managers.SSHConnectionManager
CRITICAL | 2024-05-04 00:11:26 | MainThread                     | MSG: [✘] hostname.univ.edu FAILED (exit code: None, exception: AuthenticationException) | FROM: tensorhive.core.managers.SSHConnectionManager
INFO     | 2024-05-04 00:11:26 | MainThread                     | MSG: Summary: 1/1 failed to connect.                                                 | FROM: tensorhive.core.managers.SSHConnectionManager
INFO     | 2024-05-04 00:11:26 | MainThread                     | MSG: [⚙] Testing SSH connections using default system keys                           | FROM: tensorhive.core.managers.SSHConnectionManager
CRITICAL | 2024-05-04 00:11:26 | MainThread                     | MSG: [✘] hostname.univ.edu FAILED (exit code: None, exception: AuthenticationException) | FROM: tensorhive.core.managers.SSHConnectionManager
INFO     | 2024-05-04 00:11:26 | MainThread                     | MSG: Summary: 1/1 failed to connect.                                                 | FROM: tensorhive.core.managers.SSHConnectionManager

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions