|
|
(3 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| GateOne is an entirely web-based ssh-gateway. | | GateOne is a web-based ssh-gateway. |
|
| |
|
| = Documentation = | | = Documentation = |
Line 15: |
Line 15: |
| |- | | |- |
| | [[gateone install]] | | | [[gateone install]] |
| | |- |
| | | [[gateone configuration]] |
| |- | | |- |
| | [[gateone usage]] | | | [[gateone usage]] |
Line 20: |
Line 22: |
| |} | | |} |
| </blockquote><!-- Notes --> | | </blockquote><!-- Notes --> |
|
| |
| = Usage =
| |
| <blockquote>
| |
| == SSH keys ==
| |
| <blockquote>
| |
| Not Supported yet.
| |
| </blockquote><!-- SSH keys -->
| |
| </blockquote><!-- Usage -->
| |
|
| |
| = Setup =
| |
| <blockquote>
| |
| == secure SSH in steam overlay ==
| |
| <blockquote>
| |
| The steam-browser is fairly primitive, and it does not allow you to temporarily
| |
| accept SSL certificates (and self-signed certs are invalid). That means that if you
| |
| want to use GateOne from the steam overlay, you'll need to broadcast over HTTP, and
| |
| take your own measures to encrypt your traffic.
| |
|
| |
| Fortunately, you can serve HTTP to the localhost only, and forward the localhost ports
| |
| to the remote machine using SSH tunnels (secure). Horay! Steam is useable now!
| |
|
| |
| '''(host) config'''
| |
| <syntaxhighlight lang="bash">
| |
| #### /etc/gateone/conf.d/10server.conf
| |
| "origins": [ "127.0.0.1" ], ## we will be using unsecure HTTP traffic, make sure
| |
| ## that gateone is only being served to the localhost.
| |
| "disable_ssl":true, ##
| |
| </syntaxhighlight>
| |
| '''(host) run gateone '''
| |
| <syntaxhighlight lang="bash">
| |
| su
| |
| gateone
| |
| </syntaxhighlight>
| |
|
| |
| ''' (client) forward ports to localhost using ssh'''
| |
| <syntaxhighlight lang="bash">
| |
| ssh -p 8610 -L 443:localhost:443 will@lavos ## forward remote port 443 to localhost
| |
| ## (-N -f flags do not work in git-bash)
| |
| </syntaxhighlight>
| |
|
| |
| ''' (client) in steam-browser '''
| |
| <syntaxhighlight lang="bash">
| |
| http://localhost:443 ## BOOM! gateone!
| |
| </syntaxhighlight>
| |
|
| |
| </blockquote><!-- secure SSH in steam overlay -->
| |
| </blockquote><!-- Setup -->
| |