Operation Manual – SSH Terminal ServiceH3C S7500 Series Ethernet Switches Chapter 1 SSH Terminal Service Configuration1-8To do... Use the command... RemarksEnter system view system-view —Create theconnection betweenan SSH client andan SSH serverssh2 { host-ip | host-name }[ port-num ] [ prefer_kex{ dh_group1 |dh_exchange_group } |prefer_ctos_cipher { des |aes128 } | prefer_stoc_cipher{ des | aes128 } |prefer_ctos_hmac { sha1 |sha1_96 | md5 | md5_96 } |prefer_stoc_hmac { sha1 |sha1_96 | md5 | md5_96 } ] *RequiredYou can use thiscommand to enable theconnection between anSSH client and an SSHserver, define thepreferential key exchangealgorithm, the preferentialencryption algorithm andthe preferential HMACalgorithm between theserver and client.Allocate a public keyto the serverssh client server-ip assignrsa-key keynameRequiredYou can specify on theclient the public key forthe server to beconnected to guaranteethe client can beconnected to a reliableserver.Configure the clientto run the first-timeauthentication forthe serverssh client first-time enableOptionalBy default, the client runsthe first-timeauthentication.Note:With the first-time authentication, if the SSH client does not have the public key of theserver which the SSH client accesses for the first time, the client continues to accessthe server and save the public key of the server locally. Then at the next access, theclient can authenticate the server through the public key saved locally.1.1.4 Displaying SSH ConfigurationUse the display commands in any view to view the running status of SSH and verify theconfiguration.