IP
Establishing Sessions
6-13
5
Reboot the SCS.
Figure 6-27:
RSA Method from Unix (OpenSSH) - No Passphrase
Figure 6-28:
RSA Method from Unix (OpenSSH) - with Passphrase
New authentication keys are generated within a few minutes based on the list of authorized user public keys.
A file called
host_rsa
_key contains the authorized users’ private identity keys. A file called
host_rsa_key.pub
contains the authorized users’ public identity keys.
Note:
Key generation, especially of host keys, can take a significant amount of time.
When the SCS boots for the first time or is factory defaulted, it must generate all
the keys. Depending on your SCS model, key generation could take between one
and five minutes.
As you add individual users, add their public keys to the
AUTHORIZED_KEYS
file on your workstation
and FTP the updated file to the SCS.
If this file is located at SSH connection time, and the public key of the user is valid, the user will
automatically be logged into the
Local>
prompt or, if user authentication is configured on that port, the user
may be prompted for his username and password. See
Database Configuration
on page 11-9 for information
on configuring user authentication.
If the file is not located at connection time, the SCS proceeds to password authentication.
6.5.2.6 Setting up DSA Shared Key Authentication (for SSH v2)
If you plan on using RSA user authentication for connections to the SCS, you must make an
AUTHORIZED_KEYS2
file and store it in the SCS’s
/flash/ssh/
directory before you attempt your first
SSH connection. The
AUTHORIZED_KEYS2
file consists of each SSH user’s public keys. For example,
on a UNIX host, your public keys are stored in a file called
.ssh/identity.pub
.
Create a file including the complete text of your
identity.pub
file, plus the public keys of any other users
you want to authenticate for connections to the SCS. Save it in the SCS’s
/flash/ssh/
directory as follows:
1
FTP to the IP address of the SCS.
2
Log in with the usernname of
root
and enter the privileged password (
system
by default).
sshuser@UNIXHOST/# SSH -1 SSHUSER 172.19.21.51
Lantronix SCS Version B1.0/405(011102)
Type HELP at the ‘Local_33>’ prompt for assistance.
Username>
sshuser@UNIXHOST/# SSH -1sysadmin
172.19.21.51
sysadmin@172.19.21.51’s password:
Lantronix SCS200 Version B1.0/405(011102)
Type HELP at the ‘Local_34>’ prompt for assistance.
Username>
Username/Password Authentication Setup
Summary of Contents for SCS
Page 14: ...xii ...
Page 171: ...Modem Sharing Examples 10 6 ...
Page 314: ...Command Reference Service Commands 12 110 ...
Page 403: ...Show 802 11 Errors Rightmost Number B 5 00000002 Internal error 00000001 Internal error ...
Page 424: ...Index 13 ...