File Transfers
Downloading Switch Software
Using Secure Copy and SFTP
For some situations you may want to use a secure method to issue commands
or copy files to the switch. By opening a secure, encrypted SSH session you
can then use a third-party software application to take advantage of Secure
Copy (SCP) and Secure ftp (SFTP). SCP and SFTP provide a secure alternative
to TFTP for transferring information that may be sensitive (like switch con
figuration files) to and from the switch. Essentially you are creating a secure
SSH tunnel as a way to transfer files with SFTP and SCP channels.
To use these commands you must install on the administrator workstation a
third-party application software client that supports the SFTP and/or SCP
functions. Some examples of software that supports SFTP and SCP are
PuTTY, Open SSH, WinSCP, and SSH Secure Shell. Most of these are freeware
and may be downloaded without cost or licensing from the internet. There are
differences in the way these clients work, so be sure you also download the
documentation.
As described earlier in this chapter you can use a TFTP client on the admin
istrator workstation to update software images. This is a plain text mechanism
and it connects to a standalone TFTP server or another ProCurve switch
acting as a TFTP server to obtain the software image file(s). Using SCP and
SFTP allows you to maintain your switches with greater security. You can also
roll out new software images with automated scripts that make it easier to
upgrade multiple switches simultaneously and securely.
SFTP (secure file transfer protocol) is unrelated to FTP, although there are
some functional similarities. Once you set up an SFTP session through an SSH
tunnel, some of the commands are the same as FTP commands. Certain
commands are not allowed by the SFTP server on the switch, such as those
that create files or folders. If you try to issue commands such as
create
or
remove
using SFTP the switch server returns an error message.
You can use SFTP just as you would TFTP to transfer files to and from the
switch, but with SFTP your file transfers are encrypted and require authenti
cation, so they are more secure than they would be using TFTP. SFTP works
only with SSH version 2 (SSH v2).
N o t e
SFTP over SSH version 1 (SSH v1) is not supported. A request from either the
client or the switch (or both) using SSH v1 generates an error message. The
actual text of the error message differs, depending on the client software in
use. Some examples are:
Protocol major versions differ: 2 vs. 1
Connection closed
A-9
Содержание PROCURVE 2520
Страница 2: ......
Страница 3: ...HP ProCurve 2520 Switches November 2009 S 14 03 Management and Configuration Guide ...
Страница 60: ...Using the Menu Interface Where To Go From Here 3 16 ...
Страница 82: ...Using the Command Line Interface CLI CLI Editing Shortcuts 4 22 ...
Страница 104: ...Using the ProCurve Web Browser Interface Status Reporting Features Figure 5 14 Example of Alert Log Detail View 5 22 ...
Страница 146: ...Switch Memory and Configuration Automatic Configuration Update with DHCP Option 66 6 40 ...
Страница 164: ...Interface Access and System Information System Information 7 18 ...
Страница 184: ...Configuring IP Addressing IP Preserve Retaining VLAN 1 IP Addressing Across Configuration File Downloads 8 20 ...
Страница 292: ...Port Trunking Outbound Traffic Distribution Across Trunked Links 12 30 ...
Страница 374: ...Configuring for Network Management Applications LLDP Link Layer Discovery Protocol 13 82 ...
Страница 434: ...Monitoring and Analyzing Switch Operation Locating a Device B 30 ...
Страница 514: ...Troubleshooting DNS Resolver C 80 ...
Страница 524: ...Daylight Savings Time on ProCurve Switches E 4 ...
Страница 525: ...F Power Saving Features Contents Configuring Power Saving for LEDs F 2 Show Savepower Status F 2 F 1 ...
Страница 542: ...16 Index ...
Страница 543: ......