Red Hat Training

A Red Hat training course is available for Red Hat Fuse

ssh:ssh

Name

ssh:ssh, ssh — connects to a remote SSH server

Synopsis

ssh:ssh [ --help ] [[ -l username ] | [ --username username ]] [[ -P password ] | [ --password password ]] [[ -p port ] | [ --port port ]] { hostname } [ command ]

Arguments

Table 21.1, “ssh:ssh Arguments” describes the commands arguments.

Table 21.1. ssh:ssh Arguments

ArgumentInterpretation
--help Displays the online help for this command
-l, --username The username for remote login
-P, --password The password for remote login
-p, --port The port to use for the SSH connection
hostname The hostname to connect to via SSH
command Specifies a command to execute upon connecting.