OpenSSH

From WL-HDD Wiki

Jump to: navigation, search
WL-HDD Contents
What is the WL-HDD
Features
Pro's/con's
Reviews
Hacking
Inserting the HDD
Hacking Guides
Basic setup guides
Packages guides
Requests
Troubleshooting
This Wiki
Credits
Editing help
Contact Me

[edit] Prerequisites

To complete this guide, the following is assumed:

You are running Oleg's firmware (1.9.2.7-6b or later)
You have harddisk partitions up and running with an extended filesystem mounted to /opt
You have installed the Ipkg package system.
You have configured your partitions to automount.

[edit] Install

Install openssh with:

ipkg install openssh

Then goto your home directory and create your keyfiles:

cd
mkdir .ssh
ssh-keygen -t dsa
ssh-keygen -t rsa

In order to use keyauth: On your linux/box do:

cd
ssh-keygen -t dsa
ssh-keygen -t rsa
cat .ssh/id_dsa.pub | ssh admin@YOUR_WL_HDD "cat >> .ssh/authorized_keys"

[edit] Tidy up

Now save your flashfs:

flashfs save
flashfs commit
flashfs enable
reboot

Thats it ;)

Personal tools