Positron doesn't remember the names of hosts you previously connected to, nor does it read your SSH configuration to offer pre-defined hosts.
You have to type the name of the host every time you want to connect.
Steps to reproduce the issue:
Add an SSH host to your ~/.ssh/config, and/or connect repeatedly to the same host. Each time you are prompted for the username/hostname.
Expected or desired behavior:
We should read the ~/.ssh/config file and show any hosts you've defined in there as shortcuts (it's sort of surprising that this doesn't already happen since Remote-SSH has a dedicated command to open this file). We could also optionally remember previous hosts you've connected to so you don't need to type their names every time.
Here's what VS Code's remote SSH connection menu looks like with my ~/.ssh/config; it correctly reads all of the hosts from the file and offers them as destinations.
System details:
Positron and OS details:
Describe the issue:
Positron doesn't remember the names of hosts you previously connected to, nor does it read your SSH configuration to offer pre-defined hosts.
You have to type the name of the host every time you want to connect.
Steps to reproduce the issue:
Add an SSH host to your
~/.ssh/config
, and/or connect repeatedly to the same host. Each time you are prompted for the username/hostname.Expected or desired behavior:
We should read the
~/.ssh/config
file and show any hosts you've defined in there as shortcuts (it's sort of surprising that this doesn't already happen since Remote-SSH has a dedicated command to open this file). We could also optionally remember previous hosts you've connected to so you don't need to type their names every time.Here's what VS Code's remote SSH connection menu looks like with my
~/.ssh/config
; it correctly reads all of the hosts from the file and offers them as destinations.