ssh_ssh.3erl

Langue: en

Version: 325585 (ubuntu - 08/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

ssh_ssh - SSH client.

DESCRIPTION

This module implements a simple SSH client in erlang, providing an interactive shell to another computer.

EXPORTS

connect(Host) -> ok
connect(Host, Options) -> ok
connect(Host, Port, Options) -> ok

Types
Host = string()
Port = integer()
Options = [Option]

connect starts an interactive shell to an SSH server on the given Host. The function waits for user input, and will not return until the remote shell is ended.(e.g. on exit from the shell).
For options, see ssh_cm:connect