Drist release with persistent ssh

NILDrist see its release 1.04 available. This adds support for the flag -p to

make the ssh connection persistent across the script using the ssh

ControlMaster feature. This fixes one use case where you modify ssh keys in two

operations: copy file + script to change permissions and this makes drist a lot

faster for fast tasks.

Drist makes a first ssh connection to get the real hostname of the remote

machine, and then will ssh for each step (copy, copy-hostname, absent,

absent-hostname, script, script-hostname), this mean in the use case where you

copy one file and reload a service, it was doing 3 connections. Now with

the persistent flag, drist will keep the first connection and reusing it,

closing the control socket at the end of the script.

Drist is now 121 lines long.

Download v1.04

SHA512 checksum, it is split it in two to not break the display:

525a7dc1362877021ad2db8025832048d4a469b72e6e534ae4c92cc551b031cd

1fd63c6fa3b74a0fdae86c4311de75dce10601d178fd5f4e213132e07cf77caa

Proxy Information
Original URL
gemini://perso.pw/blog//articles/drist-1.04.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
135.850438 milliseconds
Gemini-to-HTML Time
0.745619 milliseconds

This content has been proxied by September (ba2dc).