ssh image
This commit is contained in:
parent
ffce0bb8a0
commit
cc4ce82ec0
2 changed files with 23 additions and 0 deletions
12
ssh/bashrc.sh
Normal file
12
ssh/bashrc.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue