HP FlexNetwork 7500 Series Command Reference Manual page 474

Hide thumbs Also See for FlexNetwork 7500 Series:
Table of Contents

Advertisement

Predefined user roles
network-admin
mdc-admin
Parameters
server-ip ip-address: Specifies the IP address of the server whose public key information will be
deleted. If you do not specify a server IP address, this command deletes the public keys of all servers
from the client's public key file.
Examples
# Delete all server public keys saved in the public key file of the SSH client.
<Sysname> system-view
[Sysname] delete ssh client server-public-key
Public keys of all SSH servers will be deleted. Continue? [Y/N]:y
# Delete the public key of server 2.2.2.1 saved in the public key file of the SSH client.
<Sysname> system-view
[Sysname] delete ssh client server-public-key server-ip 2.2.2.1
dir
Use dir to display information about the files and subdirectories under a directory.
Syntax
dir [ -a | -l ] [ remote-path ]
Views
SFTP client view
Predefined user roles
network-admin
mdc-admin
Parameters
-a: Displays detailed information about files and subdirectories under a directory in a list, including
the files and subdirectories with names starting with dots (.).
-l: Displays detailed information about the files and subdirectories under a directory in a list,
excluding the files and subdirectories with names starting with dots (.).
remote-path: Specifies the name of the directory to be queried. If you do not specify this argument,
the command displays information about the files and subdirectories under the current working
directory.
Usage guidelines
If you do not specify both of the –a and –l keywords, this command displays the names of the files
and subdirectories under a directory.
This command has the same function as the ls command.
Examples
# Display detailed information about the files and subdirectories under the current directory, including
the files and subdirectories with names starting with dots (.).
sftp> dir -a
drwxrwxrwx
drwxrwxrwx
2 1
1
2 1
1
512 Dec 18 14:12 .
512 Dec 18 14:12 ..
459

Advertisement

Table of Contents
loading

Table of Contents