Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
NAME
      ssh - run the SSH client in a new tab 

SYNOPSIS
      ssh [-i] [USER@]HOST

      ssh [OPTION...] -s SERVER 

DESCRIPTION
      Open an SSH terminal tab. You must pass either a HOST or SERVER as the target of the connection. SERVER is the name of an SSH connection in the folder provided by the ${CONNECTIONS} variable. 

OPTIONS
      -ap

      Prompt for password. 

      -au

      Prompt for user name. 

      -i IDENTITY_FILE

      Set a file from which the identity (private key) for RSA or DSA authentication is read. See NOTES section for default setting. 

      -p PASSWORD

      Set the password. 

      -su SECURE_STORAGE_NAME

      Read the user name from the secure storage. 

      -sp SECURE_STORAGE_NAME

      Read the password from the secure storage. 

      -u USER

      Set the user name. 

EXAMPLES

      To connect to a host with a user name
No Format
ssh user@10.168.1.1

      To connect using a .ssh connection file with custom identity file use the -i option. id_rsa is the so called private key when you generate a SSH key public/private key pair
No Format
ssh -i id_rsa admin@10.168.1.1


      To connect using a .ssh server connection use the -s option and specify username & password with the -u and -p options respectively. In the below example QA_Server is a SSH Server that you have registered using 
the Register SSH Server option available in the Servers Tab.
No Format
ssh -u user -p password -s "QA_Server"


      To connect using a .ssh server connection that is contained inside a Server Group folder, created in the Servers Tab in Aqua Data Studio and to prompt for username & password. SSH_Terminals is a Server Group 
folder and Dev_Server is a SSH Server that you have registered in the below example:
No Format
ssh -au -ap -s "SSH_Terminals/Dev_Server"


      You can create Secure Storage variables in File > Options > Secure Storage, then read the username and password from it and connect to a .ssh server connection. The secured storage variables login and password 
in the below example contain the username and password respectively.
No Format
ssh -su slogin -sp spasswd -s "SSH_Terminals/Dev_Server"
NOTES
      By default, IDENTITY_FILE is set to one of the following files (in the order specified) if they exist:

      ~/.ssh/id_rsa
      ~/.ssh/id_dsa
      ~/.ssh/identity