Description
Logs in to a remote device using the Secure Shell (SSH) client on the Trellix appliance.
Syntax
slogin [-1246AaCgkNnqsTtVvXxY] [-bbind_address] [-ccipher_spec] [-Dport] [-eescape_char] [-iidentity_file]
[-Lport:host:hostport] [-llogin_name] [-mmac_spec ] [-pport] [-Rport:host:hostport] [user@hostname] [command]
Parameters
-1
Uses SSH version 1 only.
-2
Uses SSH version 2 only.
-4
Uses IPv4 addresses only.
-6
Uses IPv6 addresses only.
-a
Disables forwarding of the authentication agent connection.
-A
Enables forwarding of the authentication agent connection.
-b bind_address
Source address of the connection. Used on systems with more than one address.
-c cipher_spec
Cipher specification for encrypting the session.
-C
Requests compression of all data.
-D port
Used for application-level port forwarding.
-e escape_char
Sets the escape character for sessions with a pseudo terminal (default is "~").
-g
Allows remote hosts to connect to local forwarded ports.
-i identity_file
File that contains the identity (private key) for RSA or DSA authentication. The default is ~/.ssh/identity for SSH version 1, and ~/.ssh/id_rsa and ~/.ssh/id_dsa for SSH version 2.
-k
Disables forwarding of GSSAPI credentials to the server.
-l login_name
Login username on the remote machine.
-L port:host:hostport
Port on the local (client) host to be forwarded to a host and port on the remote side.
-m mac_spec
A comma-separated list of MAC (message authentication code) algorithms, in order of preference.
-n
Prevents reading from standard input (required when SSH is run in the background).
-N
Do not execute a remote command.
-p port
Port to connect to on the remote host.
-q
Suppresses warning and diagnostic messages.
-R port:host:hostport
Port on the remote (server) host to be forwarded to a host and port on the local side.
-s
Requests invocation of a sub-system on the remote system (SSHv2 only). The sub-system is specified by the remote command.
-t
Forces pseudo-tty allocation. Used to execute screen-based programs on a remote system.
-T
Disables pseudo-tty allocation.
-v
Displays debugging messages. Multiple -v options increase the verbosity (up to 3).
-V
Displays the version number and exits.
-x
Disables X11 forwarding.
-X
Enables X11 forwarding.
-Y
Enables trusted X11 forwarding.
[user@]hostname
Hostname or IP address of the remote device where you want to log in using SSH, optionally preceded by the login name and an "@".
Example
The following example uses SSH to log in to a remote device as user "admin."
hostname > slogin admin@192.168.0.69