---
name: "ssh_ssh"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:12.b.3-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/ssh_ssh"
---

# ssh\_ssh(3erl)

SSH client.

## 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*
