Kontron AT8404 User Manual

Page 118

Advertising
background image

Software Description

105

AT8404 User Guide

www.kontron.com

4.6.3.1

Enabling Telnet access for port 2323 (linux)

This setting allows to access the Carrier Linux shell by using telnet port 2323.

[...]
## set to yes to start OS telnetd on port 2323
CONFIG_START_TELNETD="yes"
[...]

4.6.3.2

Enabling SSH to access the Carrier

An SSH connection can be established to the Linux shell using the service port.

To use SSH, the keys must be generated and copied to the carrier in an extra-profile.tar.gz file and the fea-
ture must be enabled in the “current-settings” file.

[...]
# note that you need to have SSHD keys
# generated and included in configuration
# for SSHD to work.
# Keys should be stored in
#/etc/ssh/ssh_host_key
#/etc/ssh/ssh_host_rsa_key
#/etc/ssh/ssh_host_dsa_key
#
# You may do this by adding them to /mnt/os/extra-profile
# settings tar.gz file
#
# generate them on Linux using:
# ssh-keygen -q -t rsa1 -f /etc/ssh/ssh_host_key -C '' -N ''
# ssh-keygen -q -t rsa -f /etc/ssh/ssh_host_rsa_key -C '' -N ''
# ssh-keygen -q -t dsa -f /etc/ssh/ssh_host_dsa_key -C '' -N ''
# You may then create an extra-profile with them in it:
# tar -C / -zcvf /mnt/os/extra-profile /etc/ssh/ssh_host_*
CONFIG_START_SSHD="yes"
[...]

Advertising