Chapter 4 Function/System Settings and Display
4.3 Network Management
ETERNUS CLI User’s Guide
Copyright 2015 FUJITSU LIMITED
P2X0-1030-09ENZ0
532
Example(s)
$ ssh-keygen -N "" -f ~/.ssh/identity
Generating public/private rsa key pair.
Your identification has been saved in /home/foo/.ssh/identity.
Your public key has been saved in /home/foo/.ssh/identity.pub.
The key fingerprint is:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 [email protected]
$ ssh-keygen -e -f .ssh/identity.pub > identity.pub.ietf
$ telnet 192.168.0.101
Trying 192.168.0.101...
Connected to 192.168.0.101 (192.168.0.101).
Escape character is '^]'.
ETERNUS login is required. [2011-11-11 11:11:11]
Login:foo
Password:
CLI> import ssh-public-key -server 192.168.0.100 -port maintenance -user foo -filename identity.pub.ietf -account-name foo
Password :
$ importing ./identity.pub.ietf from 192.168.0.100
CLI> exit
$ rm identity.pub.ietf
$ ssh [email protected]
CLI> exit
$ echo show status | ssh [email protected]
CLI> show status
Summary Status [Normal]
CLI> $
$ ssh [email protected] << EOS
? show smi-s
? show status
? EOS
CLI> show smi-s
Current [Enable]
After the next power cycle [Enable]
CLI> show status
Summary Status [Normal]
CLI> $
•
A CLI command with the following format cannot be executed:
ssh [email protected] show status
Use a here document or a pipe character that are shown in the example above for the specifications.
Содержание Eternus DX410 S2
Страница 2: ...This page is intentionally left blank ...
Страница 756: ......