Chapter 44 Service Control

Figure 448 SSH Example 1: Store Host Key

Enter the password to log in to the ZyWALL. The CLI screen displays next.

44.7.2 Example 2: Linux

This section describes how to access the ZyWALL using the OpenSSH client program that comes with most Linux distributions.

1Test whether the SSH service is available on the ZyWALL.

Enter “telnet 192.168.1.1 22” at a terminal prompt and press [ENTER]. The computer attempts to connect to port 22 on the ZyWALL (using the default IP address of 192.168.1.1).

A message displays indicating the SSH protocol version supported by the ZyWALL.

Figure 449 SSH Example 2: Test

$ 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

2Enter “ssh –1 192.168.1.1”. This command forces your computer to connect to the ZyWALL using SSH version 1. If this is the first time you are connecting to the ZyWALL using SSH, a message displays prompting you to save the host information of the ZyWALL. Type “yes” and press [ENTER].

Then enter the password to log in to the ZyWALL.

Figure 450 SSH Example 2: Log in

$ 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. Administrator@192.168.1.1's password:

 

603

ZyWALL USG 1000 User’s Guide