Setting Ssh Public Keys (Cli) - Oracle ZFS Storage Appliance Administration Manual

Hide thumbs Also See for ZFS Storage Appliance:
Table of Contents

Advertisement

Setting SSH Public Keys (CLI)

2.
Click the add icon
Select a Type, and then type the SSH public key and a key comment.
3.
4.
Click ADD.
Setting SSH Public Keys (CLI)
SSH public keys can be used to allow SSH connections without the use of passwords. This
feature is useful for administrator convenience and for automated execution of scripts.
Use the following examples to set SSH public keys for user accounts. If you log into the CLI
with other than your own account, the keys are saved for that user, such as the root user. See
Example 2 for how to change keys for user accounts other than the one currently logged in to.
Choose the appropriate example.
Example 11
Setting SSH Public Keys for the Current User Account
To set SSH public keys for the current user account, use the following CLI commands.
hostname:> configuration preferences
hostname:configuration preferences> show
Properties:
Children:
hostname: configuration preferences> keys
hostname:configuration preferences keys> create
hostname:configuration preferences key (uncommitted)> set type=DSA
hostname:configuration preferences key (uncommitted)> set key="...DSA key text..."
hostname:configuration preferences key (uncommitted)> set comment="fw-log1"
hostname:configuration preferences key (uncommitted)> commit
hostname:configuration preferences keys> show
Keys:
184
Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016
next to SSH Public Keys.
locale = C
login_screen = status/dashboard
session_timeout = 15
advanced_analytics = false
keys => Manage SSH public keys
key = ...DSA key text...(uncommitted)
comment = fw-log1 (uncommitted)

Advertisement

Table of Contents
loading

Table of Contents