This commit is contained in:
2024-01-19 20:54:00 +00:00
parent 2cdb21df93
commit a2dc99d264
3 changed files with 48 additions and 0 deletions

View File

@@ -101,6 +101,11 @@
# ssh-add -l
export PATH=$PATH:/bin #Fix for wslpath
# Fix ssh completion
# bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8)
export LANG=C
for command in $({ just --summary; just -l | grep "# alias for " | awk "{print \$1}"; } | tr " " "\\n" | sed "/^default\$/d" | xargs);
do
alias $command="just $command"
@@ -138,6 +143,32 @@
UserKnownHostsFile = "/dev/null";
};
};
##pr2100
"192.168.1.109" = {
user = "sshd";
extraOptions = {
StrictHostKeyChecking = "no";
UpdateHostKeys = "yes";
PubkeyAcceptedKeyTypes = "+ssh-rsa"; ##needed to allow the USG to login with ssh key
};
};
##USG
"192.168.1.1" = {
user = "fbleagh";
extraOptions = {
StrictHostKeyChecking = "no";
UpdateHostKeys = "yes";
PubkeyAcceptedKeyTypes = "+ssh-rsa"; ##needed to allow the USG to login with ssh key
};
};
"router" = {
user = "fbleagh";
extraOptions = {
StrictHostKeyChecking = "no";
UpdateHostKeys = "yes";
PubkeyAcceptedKeyTypes = "+ssh-rsa"; ##needed to allow the USG to login with ssh key
};
};
"odroid*" = {
user = "root";
extraOptions = {