summaryrefslogtreecommitdiff
path: root/build-aux/cuirass
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-01-09 21:55:43 +0100
committerLudovic Courtès <ludo@gnu.org>2022-01-09 23:17:17 +0100
commit7f20e59a13a6acc3331e04185b8f1ed2538dcd0a (patch)
treedd7b670044397d56445e5d880a9eae7be8ebb979 /build-aux/cuirass
parent1684ed6537fbd91ae5c14fb0314564e71799d390 (diff)
downloadguix-patches-7f20e59a13a6acc3331e04185b8f1ed2538dcd0a.tar
guix-patches-7f20e59a13a6acc3331e04185b8f1ed2538dcd0a.tar.gz
machine: ssh: Open a single SSH session per machine.
Previously, any call to 'managed-host-remote-eval' and similar would open a new SSH session to the host. With this change, an SSH session is opened once, cached, and then reused by all subsequent calls to 'machine-ssh-session'. * gnu/machine/ssh.scm (<machine-ssh-configuration>): Add 'this-machine-ssh-configuration'. [session]: Mark as thunked and change default value to an 'open-machine-ssh-session*' call. (open-machine-ssh-session, open-machine-ssh-session*): New procedures. (machine-ssh-session): Replace inline code by call to 'open-machine-ssh-session'.
Diffstat (limited to 'build-aux/cuirass')
0 files changed, 0 insertions, 0 deletions