beautypg.com

Configuring ssh version 2 for secure communication – Digi PortServer TS8 User Manual

Page 66

background image

12-8

Configuring SSH Version 2 for Secure Communication

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 SSH-specific configuration is
required. Simply configure a user by entering the following commands:

set user name= name password=on

newpass name=name

where name is a user name

Example

set user name=ssh-user1

newpass name=ssh-user1

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 loadkey=143.191.2.34:ssh-file

This manual is related to the following products: