This module implements a simple SSH client in erlang, providing an interactive shell to another computer.
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