zhanghai / zhanghai/MaterialFiles

Bug: cannot connect to two accounts of the same ssh server at the same time

Open
#594 0 comments 0 reactions 1 assignee View on GitHub

@zhanghai is already working on this.

Since Apr 18, 2024.

bug
Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

I have two accounts on my desktop I can access through SSH with pubkey authentication. I've created two connections in this file manager:

account1

host: 192.168.5.121
port: 22
path: /home/account1
authentication: pubkey
username: account1

account2

host: 192.168.5.121
port: 22
path: /home/account2
authentication: pubkey
username: account2

I can connect to both, but not at the same time. If I try to open connection with account2, file manager use account1's session and I can't access my file because wrong permissions. I must close the app, the open again and open connection with account2, then I can't open connection with account1.

If I try to connect with the same host, but as different user, file manager should create second session and kill first if its window will be closed.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.