Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mySetting
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
zhangxuantong@ihep.ac.cn
mySetting
Commits
61345a2f
Commit
61345a2f
authored
4 months ago
by
zhangxuantong@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
update ssh config
parent
38c80348
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
bootstrap.sh
+1
-1
1 addition, 1 deletion
bootstrap.sh
bootstrap_remote.sh
+1
-1
1 addition, 1 deletion
bootstrap_remote.sh
src/ssh.config
+0
-1
0 additions, 1 deletion
src/ssh.config
tools/setdocker.py
+1
-2
1 addition, 2 deletions
tools/setdocker.py
tools/setsettings.py
+1
-2
1 addition, 2 deletions
tools/setsettings.py
with
4 additions
and
7 deletions
bootstrap.sh
+
1
−
1
View file @
61345a2f
...
...
@@ -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
(){
...
...
This diff is collapsed.
Click to expand it.
bootstrap_remote.sh
+
1
−
1
View file @
61345a2f
...
...
@@ -40,7 +40,7 @@ else
;;
*
)
remote_command
=
$1
echo
-e
"
E
xecut
ing
\e
[31m
$remote_command
\e
[0m ..."
echo
-e
"
Command to e
xecut
e
\e
[31m
$remote_command
\e
[0m ..."
;;
esac
fi
...
...
This diff is collapsed.
Click to expand it.
src/config
_wsl
→
src/
ssh.
config
+
0
−
1
View file @
61345a2f
...
...
@@ -5,7 +5,6 @@ ControlMaster auto
ControlPersist
5
ForwardX11
yes
ForwardX11Trusted
yes
PreferredAuthentications publickey,keyboard-interactive,password
Host
ihep
.
cc
User
root
...
...
This diff is collapsed.
Click to expand it.
tools/setdocker.py
+
1
−
2
View file @
61345a2f
#!/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
"
)
...
...
This diff is collapsed.
Click to expand it.
tools/setsettings.py
+
1
−
2
View file @
61345a2f
#!/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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment