4 Comments Already

mygif
Penoi Said,
April 2nd, 2008 @2:56 am  

Problem is after reboot, your dlink will not restore your .ssh/authorized_keys. This is a quick fix to resolve this issue

1. copy your authorized_keys
#cp /home/root/.ssh/authorized_keys /mnt/HD_a2/

2. create /mnt/HD_a2/fun_plug.d/dlinkssh.sh
#######################################################
#!/bin/sh
#Author: penoi
#Date: 04.02.2008
#Purpose: Configure SSH authorized keys for DLINK DNS-323

mkdir /home/root/.ssh
copy /mnt/HD_a2/authorized_keys /home/root/.ssh/
chmod 600 /home/root/.ssh/authorized_keys

#######################################################

3. configure dlinkssh.sh to start at reboot
#chmod a+x /mnt/HD_a2/fun_plug.d/dlinkssh.sh

mygif
anonymous Said,
October 30th, 2008 @4:23 am  

Because I’m using FFP 0.5, I created dlinkssh.sh in /mnt/HD_a2/ffp/start .

For those clueless like me, authorized_keys is a file not folder.

Thanks for the article Penoy.

mygif
anonymous Said,
November 5th, 2008 @4:59 am  

Thanks for the step-by-step instruction.

Rsync is running fine but it’ll always prompt for password. How to make rsync password-less?

mygif
anonymous Said,
November 16th, 2008 @1:52 am  

change:

copy /mnt/HD_a2/authorized_keys /home/root/.ssh/

to:

cp /mnt/HD_a2/authorized_keys /home/root/.ssh/

in penoi’s script.

Related Post

Leave Your Comments Below

Please Note: All comments will be hand modified by our authors so any over offensive comments will be removed and your submitted comments will be appreared after approved

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Categories


Directory of Personal Blogs
Personal - Top Blogs Philippines

Search

penoi twit

    Switch to our mobile site