[Switch-ui-vty0-4] authentication-mode scheme
Enable the user interfaces to support SSH.
[Switch-ui-vty0-4] protocol inbound ssh
[Switch-ui-vty0-4] quit
Configure a local user named client002 with the password being aabbcc and the service type
being SSH.
[Switch] local-user client002
[Switch-luser-client002] password simple aabbcc
[Switch-luser-client002] service-type ssh
[Switch-luser-client002] quit
Configure the user authentication type as password and service type as SFTP.
[Switch] ssh user client002 service-type sftp authentication-type password
Configure the SFTP client
2.
There are many kinds of SFTP client software. The following takes the PSFTP of Putty Version 0.58 as an
•
example.
The PSFTP supports only password authentication.
•
Establish a connection with the remote SFTP server.
Run the psftp.exe to launch the client interface, and enter the following command: See Figure 50.
open 192.168.1.45
Enter username client002 and password aabbcc as prompted to log into the SFTP server.
Figure 50
SFTP client interface
152