quantumsheep / sshs

Terminal user interface for SSH
MIT License
612 stars 17 forks source link

sshs seems to be confused with User defined as a parameter for global and host #47

Open kvnco opened 1 year ago

kvnco commented 1 year ago

seen w/ sshs 3.4.0

sshs seems to be confused with User defined as a parameter for global and host

Here is the content of my config file.

Host * User admin ServerAliveInterval 30 ServerAliveCountMax 120

Host axis-b8a44f User root

I'm expected to have the user root used for the connection to axis-b8a44f as it is shown by sshs image

But it seems that it's not the case, based ion the ssh prompt admin@axis-b8a44f's password:

quantumsheep commented 1 year ago

sshs is using the locally installed ssh to connect to hosts. That might be an issue with your currently installed version of ssh.

What does ssh -V gives you ?

kvnco commented 1 year ago

I'm currently having the issue with OpenSSH on Ubuntu on WSL

$ wsl.exe Welcome to Ubuntu 20.04.5 LTS (GNU/Linux 4.4.0-19041-Microsoft x86_64) $ ssh -V OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f 31 Mar 2020

quantumsheep commented 4 months ago

Hey! Looking back to your configuration, everything's fine, did you expected admin to show up in the User column?