1
0
forked from extern/SSH-Snake
Commit Graph

5 Commits

Author SHA1 Message Date
Joshua Rogers
3ff1879d06 Add MacOS support, and various bug/qol fixes.
Also:
Simplify the check_commands()/check_startup() functions,
Provide a normal error message on missing programs,
Use '-oPubkeyAcceptedKeyTypes=+ssh-rsa' if possible,
Use the PubkeyAcceptedKeyTypes ssh option if possible,
Use /Users for MacOS /home/ replacement,
Direct stderr of more programs to /dev/null,
Use dscacheutil if possible,
Force 5-second DNS timeout for resolution,
Fix printing of the t_hostnames_chain in case of exceptional error (double_rs_chained_print()),
Pick up GitHub error message correctly (exec request failed on channel)
Simplify check_ssh_options
2024-01-10 11:00:10 +07:00
Joshua Rogers
92b2dc5236 Following symlinks when using find(1).
Reported by @dharrigan. Fixes #2.
2024-01-06 15:53:52 +07:00
Joshua Rogers
7ae7ef0afe Fix Snake.nocomments.sh producing an invalid script during remove_functions().
Snake.nocomments.sh incorrectly removed all leading spaces from the script,
which resulted in remove_function() thinking that an awk function's } character
was the final character of a bash function.

Fixes #1.
2024-01-06 01:49:55 +07:00
Joshua Rogers
7511505c40 Improve README, fix ascii art in (very important!) in Snake.nocomments.sh. 2024-01-05 18:54:04 +07:00
Joshua Rogers
61bf00fd1e Release. 1.0. 2024-01-05 04:28:05 +07:00