renku-python icon indicating copy to clipboard operation
renku-python copied to clipboard

cli: renku session start --ssh -p renkulab

Open carlosvargas9103 opened this issue 2 years ago • 1 comments

Describe the bug

I am new using the platform (sorry):

renku session start --ssh -p renkulab

  • Not able to start the session with renku-cli in local machine after successful login in renkulab.

Details

Please verify and redact the details.

Renku version: 2.7.0 OS: Linux (#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2) Python: 3.10.13

Traceback

Traceback (most recent call last):
  File "[...]/site-packages/renku/core/session/session.py", line 157, in session_start
    provider_api.pre_start_checks(**kwargs)
  File "[...]/site-packages/renku/core/session/renkulab.py", line 164, in pre_start_checks
    system_config = SystemSSHConfig()
  File "[...]/site-packages/renku/core/util/ssh.py", line 70, in __init__
    self.ssh_config.touch(mode=0o600, exist_ok=True)
  File "[...]/pathlib.py", line 1168, in touch
    self._accessor.touch(self, mode, exist_ok)
  File "[...]/pathlib.py", line 331, in touch
    fd = os.open(path, flags, mode)
PermissionError: [Errno 13] Permission denied: '/home/cvargas/.ssh/config'

Additional context

It looks like I do not have permission to do so.

carlosvargas9103 avatar Dec 09 '23 02:12 carlosvargas9103

what is the permission of the /home/cvargas/.ssh folder (ls -alh /home/cvargas/.ssh) and what is your user(output of id)?

Panaetius avatar Jan 11 '24 10:01 Panaetius