Table of ContentsView in Frames

Issuing SSH requests

You can issue SSH requests to the storage system to perform administrative tasks.

Before you begin

For storage systems shipped with Data ONTAP 8.0 or later, SecureAdmin is set up automatically and SSH is enabled by default. For systems running earlier releases of Data ONTAP, SecureAdmin must have been set up and enabled.

About this task

Data ONTAP provides 24 concurrent SSH administrative sessions. However, you can open only one SSH-interactive session at a time.

Step

  1. From a UNIX client, enter the ssh command in one of the following formats: ssh [-1|-2] [-6] username@{IP_addr|hostname} [command] or ssh [-1|-2] [-6] -l username {IP_addr|hostname} [command]
    • The option -1 forces SSH to use protocol version 1 only.

      SSH protocol version 1 supports only IPv4 addresses.

    • The option -2 forces SSH to use protocol version 2 only.

      By default, SSH uses protocol version 2.

    • The option -6 is supported only for SSH protocol version 2 and forces SSH to use IPv6 addresses only.

      Data ONTAP supports IPv4 addresses. If you use SSH protocol version 2 to access the storage system, and if options ip.v6.enable is set to on, IPv6 addresses are also supported.

      For information about how to configure your system to use IPv6 addresses, see the Data ONTAP Software Setup Guide for 7-Mode.

    • command is not required for SSH-interactive sessions.

Examples of SSH requests

The following examples show how the user account named "joe" can issue an SSH request to access the storage system:
ssh joe@mysystem version
ssh joe@10.72.137.28 version
ssh -l joe 10.72.137.28 version
ssh -1 joe@mysystem version
ssh -2 joe@mysystem version
ssh -2 joe@3FFE:81D0:107:2082::33 version
ssh -2 -6 joe@mysystem
In addition, if you use SSH protocol version 2 and if options ip.v6.enable is set to on, you can also specify IPv6 address information in the options ssh.access command, as shown in the following examples:
options ssh.access host=mysystem,10.72.137.28,3FFE:81D0:107:2082::33
options ssh.access "host = 3FFE:81D0:107:2082::33"