Skip to content
Snippets Groups Projects
Commit 61345a2f authored by zhangxuantong@ihep.ac.cn's avatar zhangxuantong@ihep.ac.cn
Browse files

update ssh config

parent 38c80348
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ function boot_wsl(){
mv -f ~/.ssh/config ~/.ssh/config.bck
fi
rm -f ~/.ssh/config
yes | cp -f $PWD/src/config_wsl ~/.ssh/config &>/dev/null
yes | cp -f $PWD/src/ssh.config ~/.ssh/config &>/dev/null
}
function --help(){
......
......@@ -40,7 +40,7 @@ else
;;
*)
remote_command=$1
echo -e "Executing \e[31m$remote_command\e[0m ..."
echo -e "Command to execute \e[31m$remote_command\e[0m ..."
;;
esac
fi
......
......@@ -5,7 +5,6 @@ ControlMaster auto
ControlPersist 5
ForwardX11 yes
ForwardX11Trusted yes
PreferredAuthentications publickey,keyboard-interactive,password
Host ihep.cc
User root
......
#!/usr/bin/python3
import json
import argparse
import os, sys
import copy
import os
parser = argparse.ArgumentParser()
parser.add_argument("--proxy", type = str, default = "http://192.168.32.92:7890")
......
#!/usr/bin/python3
import json
import os, sys
import copy
import sys
def merge_list(old_list, new_list):
merged_list = old_list + new_list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment