ContainersWorkspace/ssh/bashrc.sh
Maciej Lebiest cc4ce82ec0
All checks were successful
Build images / build-images-arm64 (push) Successful in 12m21s
Build images / build-images-amd64 (push) Successful in 15m14s
Build images / update-images-manifests (push) Successful in 40s
ssh image
2024-11-04 16:29:00 +01:00

12 lines
297 B
Bash

#!/bin/bash
source /etc/profile
eval "$(cat /root/ssh_agent_eval)";
source /usr/share/fzf/shell/key-bindings.bash;
ssh() {
/bin/ssh -o HostKeyAlgorithms=+ssh-dss \
-o PubkeyAcceptedKeyTypes=+ssh-rsa,ssh-dss \
"$@"
}
ssh-add -l | grep 'The agent has no identities' && ssh-add