felixse / FluentTerminal

A Terminal Emulator based on UWP and web technologies.
GNU General Public License v3.0
9.15k stars 443 forks source link

Hostname resolution issues with SSH profiles. #1020

Closed adwaraki closed 1 year ago

adwaraki commented 1 year ago

I am wondering if I am doing anything wrong. I have two SSH profiles saved for my work VMs. If I go to New Tab->SSH-Profile1 (or 2), it returns an "ssh: Could not resolve hostname xxx.yyy.zzz.net: No such host is known." with a "Session disconnected: Restart or Close" banner at the bottom.

Funnily enough:

  1. The hostnames have corresponding entries in /etc/hosts,
  2. A direct ssh command from an open terminal works perfectly fine

Is this something to do with the way FT handles SSH profile-based terminal inits, since it does not occur with a direct SSH command?