Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Wed Nov 22, 2017 8:40 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: LS210 sshd
PostPosted: Thu Jul 28, 2016 9:36 am 
Offline
Newbie

Joined: Thu Jul 28, 2016 7:43 am
Posts: 16
To enable sshd attach the hard disk to another computer.
(Preferably copy partitions 1 and 2 to spare disk and use the spare. Small disk is enough for testing.)

In /etc/init.d/sshd.sh comment
#if [ "${SSHD}" = "" -o ! -x ${SSHD} ] ; then
# echo "sshd is not supported on this platform!!!"
#fi

#if [ "${SUPPORT_SFTP}" = "0" ] ; then
# echo "Not support sftp on this model." > /dev/console
# exit 0
#fi

Create link
ln -s /mnt/sdb2/etc/init.d/sshd.sh /mnt/sdb2/etc/rc.d/extensions.d/S99sshd

May be needed to edit /etc/init.d/rcS and add sshd.sh to correct runlevel.

In /etc/sshd_config set:
SyslogFacility AUTH
LogLevel INFO
PermitRootLogin yes

Set root password:
In /etc/shadow
copy admin password to root.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited