Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
ssh_scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Sofiane Bendoukha
ssh_scripts
Commits
a010ed0f
Commit
a010ed0f
authored
5 years ago
by
Mathis Rosenhauer
Browse files
Options
Downloads
Patches
Plain Diff
start-vnc: relax StrictHostKeyChecking and minor fixes
parent
596d82d2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
start-vnc
+3
-1
3 additions, 1 deletion
start-vnc
with
3 additions
and
1 deletion
start-vnc
+
3
−
1
View file @
a010ed0f
...
...
@@ -75,7 +75,7 @@ SVNC_CLIENT="vncviewer"
# More options for the vncserver. TurboVNC on A Mac may produce
# a 'javax.net.ssl.SSLHandshakeException' in this case adding
# ' -securitytypes none' to SVNC_SERVER_OPTIONS may help.
SVNC_SERVER_OPTIONS
=
"-geometry1920x1200"
SVNC_SERVER_OPTIONS
=
"-geometry
1920x1200"
# Session run time in minutes
SVNC_RUNTIME
=
240
...
...
@@ -272,6 +272,7 @@ main () {
parse_options
"
$@
"
trap
clean_up INT QUIT TERM ERR EXIT
mkdir
-p
"
${
HOME
}
/.ssh"
ssh_socket_dir
=
"
$(
mktemp
-d
"
${
HOME
}
/.ssh/socket.XXXXX"
)
"
ssh_frontend
""
"-MNf"
prepare_vncserver
...
...
@@ -289,6 +290,7 @@ main () {
local
vnc_port
=
$((
5900
+
${
vnc_display
}))
ssh
-o
ForwardX11
=
no
\
-o
StrictHostKeyChecking
=
accept-new
\
-L
"
${
vnc_port
}
:localhost:
${
vnc_port
}
"
\
-Nf
\
"
${
SVNC_USERNAME
}
@
${
vnc_host
}
.dkrz.de"
;
...
...
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