Package

ammonite

sshd

Permalink

package sshd

Visibility
  1. Public
  2. All

Type Members

  1. case class SshServerConfig(address: String, port: Int, username: String, password: String, ammoniteHome: Path = Defaults.ammoniteHome, hostKeyFile: Option[Path] = None) extends Product with Serializable

    Permalink

    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.

    username

    username to authenticate on ssh server

    password

    password to authenticate on ssh server

    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

  2. class SshdRepl extends AnyRef

    Permalink

    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

Value Members

  1. object ShellSession

    Permalink
  2. object SshServer

    Permalink

    A factory to simplify creation of ssh server

  3. object SshdRepl

    Permalink
  4. package util

    Permalink

Ungrouped