Using Scp With Ssh To Copy A Software Image - Dell Z9000 Configuration Manual

10/25/40/50/100gbe throughput
Hide thumbs Also See for Z9000:
Table of Contents

Advertisement

Display SSH connection information.
EXEC Privilege mode
show ip ssh
Specifying an SSH Version
The following example uses the ip ssh server version 2 command to enable SSH version 2 and
the show ip ssh command to confirm the setting.
Dell(conf)#ip ssh server version 2
Dell(conf)#do show ip ssh
SSH server
SSH server version
Password Authentication
Hostbased Authentication : disabled.
RSA Authentication
To disable SSH server functions, use the no ip ssh server enable command.

Using SCP with SSH to Copy a Software Image

To use secure copy (SCP) to copy a software image through an SSH connection from one switch to
another, use the following commands.
1.
On Chassis One, set the SSH port number (port 22 by default).
CONFIGURATION mode
ip ssh server port number
2.
On Chassis One, enable SSH.
CONFIGURATION mode
ip ssh server enable
3.
On Chassis Two, invoke SCP.
CONFIGURATION mode
copy scp: flash:
4.
On Chassis Two, in response to prompts, enter the path to the desired file and enter the port number
specified in Step 1.
EXEC Privilege mode
Example of Using SCP to Copy from an SSH Server on Another Switch
Other SSH-related commands include:
crypto key generate: generate keys for the SSH server.
debug ip ssh: enables collecting SSH debug information.
ip scp topdir: identify a location for files used in secure copy transfer.
ip ssh authentication-retries: configure the maximum number of attempts that should be
used to authenticate a user.
ip ssh connection-rate-limit: configure the maximum number of incoming SSH connections
per minute.
ip ssh hostbased-authentication enable: enable host-based authentication for the SSHv2
server.
Security
: disabled.
: v2.
: enabled.
: disabled.
719

Advertisement

Table of Contents
loading

Table of Contents