15 secure ftp using ssh example – ZyXEL Communications P-2602HWLNI User Manual
Page 358

Chapter 23 Remote Management Configuration
P-2602HWLNI User’s Guide
358
Enter “telnet 192.168.1.1 22” at a terminal prompt and press [ENTER]. The
computer attempts to connect to port 22 on the ZyXEL Device (using the default IP
address of 192.168.1.1).
A message displays indicating the SSH protocol version supported by the ZyXEL Device.
Figure 207 SSH Example 2: Test
2 Enter “ssh –1 192.168.1.1”. This command forces your computer to connect to
the ZyXEL Device using SSH version 1. If this is the first time you are connecting to the
ZyXEL Device using SSH, a message displays prompting you to save the host
information of the ZyXEL Device. Type “yes” and press [ENTER].
Then enter the password to log in to the ZyXEL Device.
Figure 208 SSH Example 2: Log in
3 The SMT main menu displays next.
23.15 Secure FTP Using SSH Example
This section shows an example on file transfer using the OpenSSH client program. The
configuration and connection steps are similar for other SSH client programs. Refer to your
SSH client program user’s guide.
1 Enter “sftp –1 192.168.1.1”. This command forces your computer to connect to
the ZyXEL Device for secure file transfer using SSH version 1. If this is the first time
you are connecting to the ZyXEL Device using SSH, a message displays prompting you
to save the host information of the ZyXEL Device. Type “yes” and press [ENTER].
2 Enter the password to login to the ZyXEL Device.
3 Use the “put” command to upload a new firmware to the ZyXEL Device.
$ telnet 192.168.1.1 22
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
SSH-1.5-1.0.0
$ ssh –1 192.168.1.1
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be
established.
RSA1 key fingerprint is
21:6c:07:25:7e:f4:75:80:ec:af:bd:d4:3d:80:53:d1.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.1' (RSA1) to the list of
known hosts.
[email protected]'s password: