Korenix | Network Feature
25
Start command
/etc/init.d/S50sshd start
Stop command
/etc/init.d/S50sshd stop
Support command
Default
up
Re-generate sshd host keys
The JetBox9500 comes with a set of default sshd host keys. To re-generate it, remove them
and restart the ssh daemon.
# rm –f /etc/ssh_host_dsa_key /etc/ssh_host_dsa_key.pub /etc/ssh_host_key
/etc/ssh_host_key.pub /etc/ssh_host_rsa_key /etc/ssh_host_rsa_key.pub
# /etc/init.d/S50sshd restart
4-3
FTP
Service name
proftpd
Description
A Highly configurable FTP server
Config files
/etc/proftpd.conf
Start file
/etc/init.d/S50proftpd
Start command
/etc/init.d/S50proftpd start
Stop command
/etc/init.d/S50proftpd stop
Support command
Default
down
Enabling root login
Edit the /etc/proftpd.conf and add the following line, then restart the FTP server.
RootLogin on
4-4
DNS
To set up DNS client, you need to edit two configuration files:
/etc/resolv.conf,
/etc/hosts (optional)
/etc/hosts - The static table lookup for host names