HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b3fa12
)
machine: ssh: Deprecate missing 'host-key' field.
author
Ludovic Courtès
<ludo@gnu.org>
Fri, 6 Dec 2019 12:21:11 +0000
(13:21 +0100)
committer
Ludovic Courtès
<ludo@gnu.org>
Fri, 6 Dec 2019 23:29:10 +0000
(
00:29
+0100)
* gnu/machine/ssh.scm (machine-ssh-session): Warn about missing host key.
gnu/machine/ssh.scm
patch
|
blob
|
blame
|
history
diff --git
a/gnu/machine/ssh.scm
b/gnu/machine/ssh.scm
index
23ae917
..
1b88fb4
100644
(file)
--- a/
gnu/machine/ssh.scm
+++ b/
gnu/machine/ssh.scm
@@
-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