User manual
set user
224 Chapter 2 Command Descriptions
public_key={tftphost:filename|clear}
Loads or clears an SSH public key used for authentication of this user.
The key must be an RSA public key, in either OpenSSH or the IETF draft
format.
tftphost:filename
Loads an SSH2 public key for use with this user, where:
tftphost
The IP address or DNS name of a host from which the SSH public
key will be downloaded to the Digi Connect device using TFTP.
filename
The name of a file on the host that contains the SSH public key. If
your host’s implementation requires a complete path to this file,
specify the path here as well.
clear
Unloads an SSH public key.
Examples Add a new user
#> set user add newname=jsmith id=4
Remove user 7
#> set user remove id=7
Associate user “johndoe” with the root group
#> set user associate name=johndoe gname=root
Disassociate user 15 from group 2
#> set user disassociate id=15 gid=2
Set a new user name to be entered at login
#> set user id=4 newname=jdoe
Set a user to have default command line interface access
#> set user id=4 commandline=on defaultaccess=commandline
Set a user to use group access rights
#> set user name=johndoe groupaccess=on defaultaccess=group defaultgroup=root
See also • "User Models and User Permissions in Digi Connect Products" on page
14.
• "newpass" on page 51.
• "revert" on page 61
• "set group" on page 115.
• "set menu" on page 132.
• "set permissions" on page 157.
• "show" on page 249.