mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
machine: ssh: Deprecate missing 'host-key' field.
* gnu/machine/ssh.scm (machine-ssh-session): Warn about missing host key.
This commit is contained in:
@@ -103,6 +103,9 @@ one from the configuration's parameters if one was not provided."
|
||||
(port (machine-ssh-configuration-port config))
|
||||
(identity (machine-ssh-configuration-identity config))
|
||||
(host-key (machine-ssh-configuration-host-key config)))
|
||||
(unless host-key
|
||||
(warning (G_ "<machine-ssh-configuration> without a 'host-key' \
|
||||
is deprecated~%")))
|
||||
(open-ssh-session host-name
|
||||
#:user user
|
||||
#:port port
|
||||
|
||||
Reference in New Issue
Block a user