Stop adding SSH keys automatically
This commit is contained in:
parent
a33355e921
commit
9aaef26dcf
1 changed files with 0 additions and 8 deletions
|
@ -210,14 +210,6 @@ then
|
||||||
alias dnf=yum
|
alias dnf=yum
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -S "$SSH_AUTH_SOCK" ] \
|
|
||||||
&& [ -r "$HOME/.ssh/id_ed25519" ] \
|
|
||||||
&& [ -r "$HOME/.ssh/id_ed25519.pub" ] \
|
|
||||||
&& [ "$(ssh-add -l | grep -c "$(ssh-keygen -l -f "$HOME/.ssh/id_ed25519.pub")")" = 0 ]
|
|
||||||
then
|
|
||||||
ssh-add "$HOME/.ssh/id_ed25519"
|
|
||||||
fi
|
|
||||||
|
|
||||||
usermotd () {
|
usermotd () {
|
||||||
if [ -n "$_acp_motd_shown" ]
|
if [ -n "$_acp_motd_shown" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue