Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3686a672
authored
Jan 29, 2013
by
tarokkk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added ssh support
parent
e6063f47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
miscellaneous/thinclient/mimeapps.list
+1
-0
miscellaneous/thinclient/rdp
+3
-3
No files found.
miscellaneous/thinclient/mimeapps.list
View file @
3686a672
...
...
@@ -3,6 +3,7 @@
application/nx-session=gedit.desktop;
x-scheme-handler/rdp=rdp.desktop
x-scheme-handler/nx=rdp.desktop
x-scheme-handler/shell=rdp.desktop
[Default Applications]
text/html=chromium-browser.desktop
...
...
miscellaneous/thinclient/rdp
.sh
→
miscellaneous/thinclient/rdp
View file @
3686a672
...
...
@@ -127,11 +127,11 @@ nx)
A
/usr/NX/bin/nxclient
--session
$f
;;
s
sh
)
s
hell
)
#/usr/NX/bin/nxclient --dialog ok --message "Jelszó: $password" &
rm /home/user/.ssh/known_hosts
#
rm /home/user/.ssh/known_hosts
#rxvt-unicode -e sh -c "ssh $user@$host -p$port; sleep 2"
rxvt-unicode
-e
sh
-c
"sshpass -p "
$password
" ssh -o StrictHostKeyChecking=no
$user
@
$host
-p
$port
; sleep 2
"
gnome-terminal
-e
"sshpass -p "
$password
" ssh -o StrictHostKeyChecking=no
$user
@
$host
-p
$port
"
;;
*
)
xmessage
"
$scheme
is not supported."
...
...
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