User guide

30
TheCPEispreconguredwithaloginforSSH,pleaseconsultDKTCOMEGAforusernameandpassword.
ThersttimetheSSHdaemonisstarted;twosecretkeylesaregenerated.
Pleasenotethatittakesawhiletogeneratethesecretkeyles.Thesecretkeylesarenotautomati-
callystoredtoash.
SavetheSSHsecretkeylestoashusingsave_congurationinthecongurationle:
# Save configuration to flash memory, same SSH key is used at every boot
save_configuration
NowitispossibletologintotheCPEastheuser”Administrator”(casesensitive)throughSSH.
ssh Administrator@<IP address>
or
ssh -l Administrator <IP address>
or using e.g. Putty application
When logged in as Administrator, it is not possible to make any changes, as you must switch user to root
with this command:
su
Nowitispossibletorunallofthecongurationcommands,anditispossibletochangethepasswordof
the user with the command
passwd <username>
Ifpasswordischangedremembersavetoashwiththesave_configuration command.
Whennished,type exit to return to the Administrator user.
To log out, type exit again.
Thedaemonisstartedbythenormalcongurationlebyinsertingthefollowingcommands(thelines
should replace the telnetd command):
# Some configuration commands
# Start SSH daemon
/etc/init.d/sshd start
# Save configuration and SSH secret files to flash
save_configuration
Thesshdscriptautomaticallyrestorespassword-andSSHkeylesfromashbeforetheSSHdaemonis
started.
Procedure for changing SSH password on all CPE units.
If password for Administrator is to be changed for all CPE’s do the following:
1) Log into one CPE via ssh
2) change user to root with command su
3) cd /etc
4) change password of the CPE
5)Nowcopytheshadowletoatftpserver,typing“tftp -p -l shadow -r shadow <TFTP Serv-