Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kvnco opened this issue Jan 12, 2023 · 3 comments

Comments

@kvnco
Copy link

kvnco commented Jan 12, 2023

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
Copy link
Owner

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
Copy link
Author

kvnco commented Jan 16, 2023

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants