0.3.13 • Published 7 years ago

redrouter.resolver.ssh v0.3.13

Weekly downloads
4
License
GPL-2.0
Repository
github
Last release
7 years ago

SSH Resolver for RedRouter

The SSH Resolver is used to route incoming requests based on username. The route records for use with SSH are prefixed by the SSH:: protocol string. For example, if I wanted to route the SSH user DerekTBrown, I can create a key "SSH::DerekTBrown" with the following information:

{
  host : "allderek.com",
  port: 22,
  username: "derekbro", // This would override the username used by the user at login
  password: "password", // If unset, the password is interactively ascertained,
  allowed_auth: ["password"] // Methods to attempt for authentication.
}

If you dont wish to supply all of these fields, you can establish defaults by passing the same keys into the resolver_ssh options when you create the RedRouter object:

resolvers: [
  { constructor: resolver_ssh,
    options: {
      defaults: {
        allowed_auth: ['password']
      }
    }
  }
],
0.3.13

7 years ago

0.3.11

7 years ago

0.3.10

7 years ago

0.3.9

7 years ago

0.3.8

7 years ago

0.3.7

7 years ago

0.3.6

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago