.tmux: Editing file with "ssh" in the path/filename tricks the hostname into being the file path and filename

Created on 18 Sep 2020  路  3Comments  路  Source: gpakosz/.tmux

I noticed while editing some puppet manifests related to ssh config that my hostname was getting changed to the filepath for the duration of editing. You can test this yourself with "vim /etc/ssh/ssh_config" and see what happens to the hostname, it's been easy to reproduce for me, but it's possible I have something odd in my .tmux.conf.local file.

I'm happy to share any desired information or commands. My use case is I ssh from a laptop to my work host and open (usually reattach to) my tmux session there.

Please let me know if I can provide any other information. I would imagine this isn't limited to just editing.

Thanks!

-stefan

bug

All 3 comments

Hello @shortspecialbus 馃憢

The funny thing is that I never noticed it but it's already fixed in the latest master commit as of today 馃槄

Can you confirm latest master also works for you?

Yep, appears fixed!

Best service ever.

Great. Closing then!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luisdavim picture luisdavim  路  6Comments

mattysweeps picture mattysweeps  路  6Comments

magostinelli picture magostinelli  路  6Comments

fwarmuth picture fwarmuth  路  5Comments

kmarhold picture kmarhold  路  3Comments