Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
Machine Learning and Deep Learning at FZJ
JUHAICU
JSC_public
SharedSpace
projects
Cellular Automata
code base
helpers
Commits
c627815b
Commit
c627815b
authored
4 years ago
by
Jenia Jitsev
Browse files
Options
Downloads
Patches
Plain Diff
JJ: adding helpers to handle ssh keys
parent
2d195cd1
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-0
2 additions, 0 deletions
README.md
init_key.sh
+14
-0
14 additions, 0 deletions
init_key.sh
with
16 additions
and
0 deletions
README.md
+
2
−
0
View file @
c627815b
# Helper utilities and scripts
Different helpful utilities and scripts
-
`init_key.sh`
: edit and run this to initialize a ssh key, eg for handling repositories without necessity to type in passwords each time
This diff is collapsed.
Click to expand it.
init_key.sh
0 → 100755
+
14
−
0
View file @
c627815b
#!/bin/bash
# handling ssh keys
# execute this with "source ${PATH_TO_SCRIPT}/init_key.sh
# plug here your key name, eg "id_rsa"
SSH_KEY_NAME
=
""
if
[
-z
"
$SSH_AUTH_SOCK
"
]
then
eval
`
ssh-agent
-s
`
ssh-add ~/.ssh/
${
SSH_KEY_NAME
}
fi
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