icomasoft PowerScripter 1.5  
connect-ssh

Name

Connect-SSH

Synopsis

Connects to a SSH server.

Syntax

Connect-SSH -Server <String> [-User] <String> [-Password] <String> [-Credential] <Credential> [-Certificate] <String>

Related Commands

Disconnect-SSH

Detailed Description

Connects to a SSH server. Starts a new session with a SSH server using the specified parameters. Server IP/Name and User/Password parameters must be provided in order to authenticate with the host. Only one connection at the time possible.

Parameters

Name Description Required? Pipeline Input
Server Specifies the IP address or the DNS name of a SSH server to connect to.  True  False
User Specifies a user name for authenticating with the server.  False  False
Password Specifies a password for authenticating with the server.  False  False
Credential Specifies the Credential object for authenticating with the server.  False  False
Certificate Specifies the Certificate for authenticating with the server.  False

 False

Input Type

none

Return Type

$icomasshconn

Examples

Connect-SSH -Server 192.168.1.201 -User root -Password letmein

Connects to a SSH server


 
Copyright © 2009 icomasoft ag, Switzerland