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
Hello,
In my ssh configuration file, I've Host * Port 22
In this case, tmate tries to connect to port 22 even with set -g tmate-server-port "xxxx" in .tmate.conf.
IMHO, either tmate should ignore local ssh config or should be able to use a specific ssh configuration block.
Kinds regards,
The text was updated successfully, but these errors were encountered:
This should be the last call of all options, it may overwrite options which are already set. It requires that the host name is already set with ssh_options_set_host().
aebm
added a commit
to aebm/tmate
that referenced
this issue
Feb 19, 2020
* Since libssh 0.9 doing ssh_connect will call parse_config
(unless it is deactivated SSH_OPTIONS_PROCESS_CONFIG)
if ~/.ssh/config hasn't been parsed, overwriting the port option.
So this will call parse_first before setting the port with
tmate-server-port as commit 89a8a6fcf07368c56a98ff8168db77b6814fbe7b.
Fixestmate-io#167
Commit 89a8a6fcf07368c56a98ff8168db77b6814fbe7b in libssh
As the configuration parsing is the last thing before doing the
actual connection, it might overwrite previously set options.
If this is not intended, the client application can
ask the configuration files to be parsed before setting some other
options that should not ve overwritten.
aebm
linked a pull request
Feb 19, 2020
that will
close
this issue
Hello,
In my ssh configuration file, I've
Host *
Port 22
In this case, tmate tries to connect to port 22 even with
set -g tmate-server-port "xxxx"
in .tmate.conf.IMHO, either tmate should ignore local ssh config or should be able to use a specific ssh configuration block.
Kinds regards,
The text was updated successfully, but these errors were encountered: