Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#U interpolation doesn't work when using ~/.ssh/config #19

Open
Oliveiras opened this issue Jul 1, 2021 · 2 comments
Open

#U interpolation doesn't work when using ~/.ssh/config #19

Oliveiras opened this issue Jul 1, 2021 · 2 comments

Comments

@Oliveiras
Copy link

Oliveiras commented Jul 1, 2021

Tmux version: 3.0a

Description
#U only knows my ssh username when I use it in ssh command, but not when I save the username in the ~/.ssh/config file.

How to reproduce
If I connect using ssh my_remote_user@another_host everything works.
Now, write the following to the file ~/.ssh/config :

Host dev_server
    Hostname another_host
    User my_remote_user

And connect using ssh dev_server .
#U doesn't get updated.

Possible Solution
I don't know if there is a solution. If not, just write this limitation in the README.

@megalithic
Copy link

having same issue as you :(

@Tony-Sol
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants