SSH (Secure Shell Client) is a program used to log in to the remote system execution command. It can replace rlogin and RSH and can provide secure, encrypted connections to the client in an inaccurate network environment. For the safety of the server, any competent administrator should use SSH, let's introduce the installation and configuration process of the SSH. 1 Software Get http://210.74.166.205/pub/security/ssh/ssh-secure-shell-2.1.0-noncommercial.tar.gz 2 Installation # tar zxvf ssh-2.0.13.tar.gz # cd ssh- 2.0.13 # ./configure # make # make install By default, SSH will be installed in / usr / local /. 3 Start the server to run at the prompt: # / usr / local / sbin / sshd2 In order to automatically perform the above command after the system is restarted, the above command should be added to /etc/rc.d/rc.local. go with. You can then run the PS X | grep sshd command in the command line to see if there is a similar output, if there is so congratulations: 213? Is 0:00.46 / usr / local / sbin / sshd2 4 client in Linux Under UNIX, install this SSH has a client program. You can choose to use the system's Password or use SSH2 PASSPHRASE, if you choose to use SSH's Passline, you need to run the following command: # ssh-keygen2 generating 1024-bit DSA Key Pair 6 oo.oo.oooo. Key generated. 1024 -bit dsa, root@yourdomain.com, Thu Jun 22 2000 14:33:39 0800 Passphrase: again: private key saved to /root/.ssh2/id_dsa_1024_a public key saved to /root/.ssh2/ID_DSA_1024_A.PUB # cd ~ / .ssh2 Create two files in the format below: # vi identification add: idkey id_dsa_1024_a In the corresponding user of the server ~ / .sssh2 directory # vi authorization joining: key id_dsa_1024_a.pub then run: # ssh youdomain.com Host key not found from database. Are you sure you want to continue connecting (yes / no)? yes Host key saved to /home/chenlf/.ssh2/hostkeys/key_22_210.74.166.253.pub host key for 210.74.166.253, accepted by chenlf thu jun 22 2000 14:54:01 0800 Passphrase for key "/HOME/CHENLF /.SSH2/CHENLF" with comment "1024-bit dsa, chenlf @ ns1.cnuol.com, WED MAY 17 2000 15: 13: 17 0800 ": Enter your passphrase after": "! SECURE CRT 3.0 can be used under Windows.