posit-dev / posit-dev/positron
Remote SSH: Positron will remember the username connected for the first time, leading to unchangeable user
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
System details:
Positron and OS details:
Positron Version: 2025.01.0 (Universal) build 159
Code - OSS Version: 1.95.0
Commit: bc8820be811f8697ae06e8fda469be39b5fd0f16
Date: 2025-01-09T23:29:00.471Z
Electron: 32.2.1
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.0.0
Interpreter details:
Ubuntu 22.04
Describe the issue:
If the first time I enter John@xxx.xxx.xxx.xxx for remote ssh connection, in the second time, I want to change for a new user, for example, Mary. But although I enter Mary@xxx.xxx.xxx.xxx for connection, Positron still asking me for the password of John, and login to John's account.
The only way to solve this is modifying the ssh config file and change username.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the remote SSH flow described in the issue, using the listed Positron and Ubuntu versions, and trace how the first username is retained for later connections. Done means selecting a different username for the same host connects as that user without editing the SSH config file.
Written by the indexing model from the issue text.
Assessment
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100