-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
When directives are present that are outside of a Host block a warning is shown and the program exits with status code 1.
I have the following at the top of my ssh config file:
PermitLocalCommand yes
Include config.d/*
and some hosts
$ grep -c -w ^Host ~/.ssh/config
16but I am getting the following warning unless I comment the first two settings
$ uvx --from sshclick sshc hosts
WARNING:root:Config info without Host definition on SSH-config line number 0$ head -2 ~/.ssh/config
#PermitLocalCommand yes
#Include config.d/*
$ uvx --from sshclick sshc hosts
┌──────┬─────────┬────────┬────────────────┬────────────┐
│ name │ group │ type │ param:hostname │ param:user │
├──────┼─────────┼────────┼────────────────┼────────────┤
│ g │ default │ normal │ *** │ root │
│ am │ default │ normal │ *** │ root │
...Tzrlk
Metadata
Metadata
Assignees
Labels
No labels