# Module cloudi_service_router_ssh_client

- Description
- Data Types
- Function Index
- Function Details

### CloudI Router Service SSH Client

.

Copyright © 2018-2021 Michael Truog

Version: 2.0.2 May 27 2021 02:29:17 ------------------------------------------------------------------------

Behaviours: `gen_server`.

Authors: Michael Truog (`mjtruog at protonmail dot com`).

## Description

### CloudI Router Service SSH Client

## Data Types

### options()

`options() = [{host_name, string()} | {port, pos_integer()} | {inet, inet | inet6 | undefined} | {user_dir, string()} | {system_dir, string()}]`

### state()

`state() = #ssh_client{process = pid()}`

## Function Index

code_change/3 |
forward/11 |
handle_call/3 |
handle_cast/2 |
handle_info/2 |
init/1 |
new/3 |
silently_accept_hosts/3 |
terminate/2 |

## Function Details

### code_change/3

`code_change(X1, State, X3) -> any()`

### forward/11

`forward(RequestType::cloudi_service:request_type(), Name::cloudi_service:service_name(), Pattern::cloudi_service:service_name_pattern(), NewName::cloudi_service:service_name(), RequestInfo::cloudi_service:request_info(), Request::cloudi_service:request(), Timeout::cloudi_service:timeout_value_milliseconds(), Priority::cloudi_service:priority_value(), TransId::cloudi_service:trans_id(), Source::cloudi_service:source(), State::state()) -> ok | timeout`

### handle_call/3

`handle_call(Request, X2, State) -> any()`

### handle_cast/2

`handle_cast(Request, State) -> any()`

### handle_info/2

`handle_info(Request, Ssh_client_connection) -> any()`

### init/1

`init(X1) -> any()`

### new/3

`new(Options::options(), Environment::cloudi_environment:lookup(), SSH::cloudi_service_router_ssh_server:state() | undefined) -> state()`

### silently_accept_hosts/3

`silently_accept_hosts(PeerName::string(), FingerPrint::string(), SystemDir::string()) -> boolean()`

### terminate/2

`terminate(X1, Ssh_client_connection) -> any()`

Generated by EDoc