right-click on file to download via SCP, doesn't use the ssh config's aliases
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.0
- OS version: MacosX ElCapitan 10.11.5 (15F34)
Detailed steps to reproduce the problem:
I have a bunch of servers that have a different hostname on their internal VPN vs. on the internet
ie. public dns:
myhost.mydc.mycorpdomain.com / private dns:
myhost.mydc. To simplify ssh/scp connections I have an alias set in
~/.ssh/config that works fine:
Host *.mydc1 *.mydc2 Hostname %h.mycorpdomain.tld
- $ ssh myhost.mydc1
- $ ls
- right click on a file to download via SCP
What happened: got an error: 'unable to connect to myhost.dc1, host not found etc.'
What should have happened: Iterm3 should have relied on ssh/scp's builtin alias expansion (.ssh/config)