package sshd
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- case class SshServerConfig(address: String, port: Int, ammoniteHome: Path = Defaults.ammoniteHome, hostKeyFile: Option[Path] = None, passwordAuthenticator: Option[PasswordAuthenticator] = None, publicKeyAuthenticator: Option[PublickeyAuthenticator] = None) extends Product with Serializable
Ssh server parameters
Ssh server parameters
- port
a port to be used by ssh server. Set it as
0
to let server choose some random port.- ammoniteHome
path that ammonite repl sessions will be using as their home directory
- hostKeyFile
path to the place where to store server's identity key
- class SshdRepl extends AnyRef
An ssh server which serves ammonite repl as it's shell channel.
An ssh server which serves ammonite repl as it's shell channel. To start listening for incoming connections call start() method. You can stop() the server at any moment. It will also close all running sessions