Configuring SSH Version 2 for Secure Communication
This section discusses how to configure a user to use SSH version 2 encryption.
Password Protection
To configure simple password authentication for an SSH user, no
set user name= name password=on
newpass name=name
where name is a user name
Example
set user
newpass
Using a Public Key
To enable public key authentication and to associate a public key with a user, enter the following command:
set user name= name loadkey=host:key
where
•name is the name of a user
•host is either an IP address or DNS name of a host running TFTP that holds
•key is the name of a file that contains the DSA public key. If your host’s implementation requires a complete path to the file, specify the path here as well.
Example: set user name=secure
Configuring SSH Version 2 for Secure Communication |