Re: Re: Telnet to WL-500b/g
OK here it is:
- Copy sshd.zip (http://members.chello.nl/~m.kuystermans/sshd.zip) to Flash drive
- extract zip file, directory structure should be preserved
- run telnet
- goto /mnt/usbfs/sshd/mipsel/etc
- execute the following commands (this takes a while, this is not a P4 2.4GHz you know)
../sbin/ssh-keygen -t rsa1 -f ssh_host_key -N ""
../sbin/ssh-keygen -t dsa -f ssh_host_dsa_key -N ""
../sbin/ssh-keygen -t rsa -f ssh_host_rsa_key -N "" - Do not copy the files manually, the following script will set up your sshd environment:
(execute via telnet or via http://my.router/Main_AdmStatus_Content.asp)
/mnt/usbfs/sshd/start_ssh
it uses the default directory structure, edit ./etc/sshd_config to overrule - The default user and password in the password file is root and guest. To change the password online goto:
http://www.desilva.biz/apache/pwdweb.html#encryptpasswd
and copy and past it into the passwd file. However do not change user name root, otherwise the key files will not be valid.
The ssh daemon is stable, the router will not reset while loaded.
Good luck!
Re: Re: Re: Telnet to WL-500b/g
Quote:
Originally posted by bramfm
The ssh daemon is stable, the router will not reset while loaded.
Good luck!
Some additions:
if (or should this be: when) ssh-keygen is generating errors like:
You don't exist, go away!
run the script :
/mnt/usbfs/sshd/start_ssh
it will generate error messages, but at least the needed files are copied. Now you can generate the keys.