Drop redundant id_rsa fallback comment

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
28allday 2026-05-31 18:54:46 +01:00
parent 8766418233
commit 9d3b7b9809

View file

@ -1170,7 +1170,6 @@ done
# Override default with: SSH_PUBKEY=/path/to/key.pub ./omalocal.sh # Override default with: SSH_PUBKEY=/path/to/key.pub ./omalocal.sh
SSH_PUBKEY="${SSH_PUBKEY:-$HOME/.ssh/id_ed25519.pub}" SSH_PUBKEY="${SSH_PUBKEY:-$HOME/.ssh/id_ed25519.pub}"
if [ ! -f "$SSH_PUBKEY" ]; then if [ ! -f "$SSH_PUBKEY" ]; then
# Fall back to id_rsa.pub if ed25519 isn't there
if [ -f "$HOME/.ssh/id_rsa.pub" ]; then if [ -f "$HOME/.ssh/id_rsa.pub" ]; then
SSH_PUBKEY="$HOME/.ssh/id_rsa.pub" SSH_PUBKEY="$HOME/.ssh/id_rsa.pub"
else else