144Follow these steps to configure the SFTP connection idle timeout period:To do… Use the command… Remarks1. Enter system view system-view —2. Configure the SFTP connectionidle timeout periodsftp server idle-timeout time-out-valueOptional10 minutes by defaultConfiguring an SFTP clientSpecifying a source IP address or interface for the SFTPclientYou can configure a client to use only a specified source IP address or interface to access the SFTPserver, thus enhancing the service manageability.Follow these steps to specify a source IP address or interface for the SFTP client:To do… Use the command… Remarks1. Enter system view system-view —2. Specify a source IPaddress or interface forthe SFTP clientSpecify a sourceIPv4 address orinterface for theSFTP clientsftp client source { ipip-address | interfaceinterface-type interface-number }RequiredUse either command.By default, an SFTP clientuses the interface addressspecified by the route of theswitch to access the SFTPserver.Specify a sourceIPv6 address orinterface for theSFTP clientsftp client ipv6source { ipv6 ipv6-address | interfaceinterface-type interface-number }Establishing a connection to the SFTP serverThis configuration task is to enable the SFTP client to establish a connection with the remote SFTPserver and enter SFTP client view.Follow these steps to enable the SFTP client:To do… Use the command… Remarks1. Establish aconnectionto theremote SFTPserver andenter SFTPclient viewEstablish aconnection tothe remote IPv4SFTP server andenter SFTP clientviewsftp server [ port-number ] [ vpn-instance vpn-instance-name ] [ identity-key { dsa | rsa } |prefer-ctos-cipher { 3des | aes128 | des } |prefer-ctos-hmac { md5 | md5-96 | sha1 |sha1-96 } | prefer-kex { dh-group-exchange| dh-group1 | dh-group14 } | prefer-stoc-cipher { 3des | aes128 | des } | prefer-stoc-hmac { md5 | md5-96 | sha1 | sha1-96 } ] *RequiredUse eithercommand inuser view.