Skip to content

Commit

Permalink
Merge branch 'master' of github.com:joushou/sshmuxd
Browse files Browse the repository at this point in the history
  • Loading branch information
kennylevinsen committed Sep 28, 2015
2 parents a86ab03 + 848f057 commit beed2e5
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 38 deletions.
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

76 changes: 39 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,43 +92,45 @@ sshmuxd requires 3 things:
* A private key for the server to use ("hostkey").
* A JSON configuration file. The format of the file is as follows (note that, due to the presence of comments, this is not actually a valid JSON file. Remove comments before use, or refer to example_conf.json)

{
// Listening address as given directly to net.Listen.
"address": ":22",

// Private key to use for built-in SSH server.
"hostkey": "hostkey",

// Authorized keys to use for authenticating users. An important note
// is that the comment (the part after the key itself in an entry)
// will be used as name for the user internally.
"authkeys": "authkeys",

// The list of remote hosts that can be used through this proxy.
"hosts": [
{
// The address of the remote host. This address must include the
// port.
"address": "ssh1.example.com:22",

// The list of users permitted to access this host.
"users": [ "boss", "me", "granny" ]

// Whether or not this server can be accessed by anyone,
// regardless of public key and presence in user list.
// Defaults to false.
"noAuth": false
},
{
"address": "public.example.com:22",
"noAuth": true
}
{
"address": "secret.example.com:22",
"users": [ "me" ]
},
]
}
```
{
// Listening address as given directly to net.Listen.
"address": ":22",
// Private key to use for built-in SSH server.
"hostkey": "hostkey",
// Authorized keys to use for authenticating users. An important note
// is that the comment (the part after the key itself in an entry)
// will be used as name for the user internally.
"authkeys": "authkeys",
// The list of remote hosts that can be used through this proxy.
"hosts": [
{
// The address of the remote host. This address must include the
// port.
"address": "ssh1.example.com:22",
// The list of users permitted to access this host.
"users": [ "boss", "me", "granny" ]
// Whether or not this server can be accessed by anyone,
// regardless of public key and presence in user list.
// Defaults to false.
"noAuth": false
},
{
"address": "public.example.com:22",
"noAuth": true
}
{
"address": "secret.example.com:22",
"users": [ "me" ]
},
]
}
```

# More info
For more details about this project, see the underlying library: http://github.com/joushou/sshmux

0 comments on commit beed2e5

Please sign in to comment.