Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ssh_scripts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mathis Rosenhauer
ssh_scripts
Commits
a010ed0f
Commit
a010ed0f
authored
Aug 12, 2019
by
Mathis Rosenhauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
start-vnc: relax StrictHostKeyChecking and minor fixes
parent
596d82d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
start-vnc
start-vnc
+3
-1
No files found.
start-vnc
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"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment