You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the value of Host is not resolvable or has special characters (w.g., whitespace), sshs fails to connect if the config is provided by -c. For example, if I have a ssh.config in a temporary folder that contains:
Host "My Server"
HostName 10.1.1.10
User ubuntu
Ans start sshs -c ssh.config, selecting My Server, the result is:
Running command: ssh "My Server"
hostname contains invalid characters
If the Host is MyServer, which is not resolvable, the result is:
Running command: ssh "MyServer"
ssh: Could not resolve hostname myserver: nodename nor servname provided, or not known
If the same host block is placed in the ~/.ssh/config file, connection is established by starting just sshs.
It seems to work by providing -F ssh.config to the command template makes it work, but I am not sure if it is the right fix:
If it is, I think it should be made the default command template, otherwise using -c is not very useful.
Btw, is the list of sshs keywords that can be used in the command template available somewhere? Or is only name? I tried hostname, but the result was empty string.
The text was updated successfully, but these errors were encountered:
If the value of
Host
is not resolvable or has special characters (w.g., whitespace),sshs
fails to connect if the config is provided by-c
. For example, if I have assh.config
in a temporary folder that contains:Ans start
sshs -c ssh.config
, selectingMy Server
, the result is:If the
Host
isMyServer
, which is not resolvable, the result is:If the same host block is placed in the
~/.ssh/config
file, connection is established by starting justsshs
.It seems to work by providing
-F ssh.config
to the command template makes it work, but I am not sure if it is the right fix:If it is, I think it should be made the default command template, otherwise using
-c
is not very useful.Btw, is the list of sshs keywords that can be used in the command template available somewhere? Or is only
name
? I triedhostname
, but the result was empty string.The text was updated successfully, but these errors were encountered: