-
Notifications
You must be signed in to change notification settings - Fork 0
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
Loading ~/.lima/default/ssh.config alerts Unsupported option "gssapiauthentication"
since NixOS 24.11
#950
Loading ~/.lima/default/ssh.config alerts Unsupported option "gssapiauthentication"
since NixOS 24.11
#950
Comments
Unsupported option "gssapiauthentication"
Unsupported option "gssapiauthentication"
Lima introduced it in old version, so new OpenSSH since #943 making this issue? 🤔 |
> limactl show-ssh --help
Show the ssh command line (DEPRECATED)
WARNING: 'limactl show-ssh' is deprecated.
Instead, use 'ssh -F /home/kachick/.lima/default/ssh.config lima-default' .
Usage:
limactl show-ssh [flags] INSTANCE
Examples:
"cmd" format (default): Full ssh command line.
$ limactl show-ssh --format=cmd default
ssh -o IdentityFile="/Users/example/.lima/_config/user" -o User=example -o Hostname=127.0.0.1 -o Port=60022 lima-default
"args" format: Similar to the cmd format but omits "ssh" and the destination address
$ limactl show-ssh --format=args default
-o IdentityFile="/Users/example/.lima/_config/user" -o User=example -o Hostname=127.0.0.1 -o Port=60022
"options" format: ssh option key value pairs
$ limactl show-ssh --format=options default
IdentityFile="/Users/example/.lima/_config/user"
User=example
Hostname=127.0.0.1
Port=60022
"config" format: ~/.ssh/config format
$ limactl show-ssh --format=config default
Host lima-default
IdentityFile "/Users/example/.lima/_config/user "
User example
Hostname 127.0.0.1
Port 60022
To show the config file path:
$ limactl ls --format='{{.SSHConfigFile}}' default
/Users/example/.lima/default/ssh.config
Flags:
-f, --format string Format: cmd, args, options, config (default "cmd")
-h, --help help for show-ssh
Global Flags:
--debug debug mode
--log-format string Set the logging format [text, json] (default "text")
--log-level string Set the logging level [trace, debug, info, warn, error]
--tty Enable TUI interactions such as opening an editor. Defaults to true when stdout is a terminal. Set to false for automation. (default true) filtering the file and saving might not correct, because of lima modify the content when reboot the instance. So managing in repository will not fit. |
However darwin uses own ssh and does not make warning for now. So watching the lima generated file with systemd and put filtered file might be enough...? |
I don't want to switch back the openssh package just avoiding this problem... |
I'm not good person as an editor of systemd config even if using home-manager https://github.com/nix-community/home-manager/blob/a46e702093a5c46e192243edbd977d5749e7f294/modules/systemd.nix#L161-L166 |
🙄 |
This comment was marked as off-topic.
This comment was marked as off-topic.
💭 I need to run lima as |
And considering multiple lima instance case, including only the default instance config might not fit... (--plain is also useful for simple vm creation) |
https://man7.org/linux/man-pages/man5/ssh_config.5.html
wildcard is available |
Unsupported option "gssapiauthentication"
Unsupported option "gssapiauthentication"
since NixOS 24.11
kachick/dotfiles#950 Signed-off-by: Kenichi Kamiya <[email protected]>
Since #943
Accessing lima alerts
Unsupported option "gssapiauthentication"
. It is annoy even through I can use the shellAnd this is also happened in other SSH use.
ref: NixOS/nixpkgs#30739, #936
The text was updated successfully, but these errors were encountered: