Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Wed Nov 22, 2017 11:19 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Jun 13, 2016 7:28 pm 
Offline
Total Newbie

Joined: Mon Jun 13, 2016 6:55 pm
Posts: 2
Hello everyone, I hope I'm posting to the right forum.

I recently bought a TeraStation TS3400D and need to enable SSH access, but not sure how to proceed. I've tried ACP Commander GUI v1.5.6.0 and it automatically detects my TeraStation. After setting my admin password, I can submit commands and get responses back. First I tried clicking the Enable SSH button, and got a confirmation dialog saying it was successful, but it refuses the SSH connection:

Code:
ssh root@192.168.1.89
ssh: connect to host 192.168.1.89 port 22: Connection refused


After reading some more I figured out that I needed to edit the SSH daemon config files to get sshd to start properly. I used sed to edit my /etc/sshd_config

Code:
Port 22
Protocol 2,1
ListenAddress 0.0.0.0 # I'll adjust once I can get in via SSH
PermitRootLogin yes


Pub key authentication is disabled for now. My /etc/init.d/sshd.sh has the following lines:

Code:
[ -f /etc/nas_feature ] && . /etc/nas_feature
[ -f /etc/melco/info ] && . /etc/melco/info

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


I looked at /etc/nas_feature and /etc/melco/info and there's no mention of SUPPORT_SFTP, so in order to bypass it I exported SUPPORT_SFTP = 1 so it wouldn't exit. Maybe this is the problem, I'm not sure.

Afterwards I executed /etc/init.d/sshd.sh stop && /etc/init.d/sshd.sh start and this is the output I get some key not found errors (sorry for the screen capture, but ACP Commander won't let me copy/paste)

Image
Image

Still ssh is refused. What am I missing?

Thanks in advance!


Top
   
PostPosted: Mon Jun 13, 2016 7:34 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2691
try telnet

set the password for root
the use
Code:
/usr/sbin/telnetd


Top
   
PostPosted: Mon Jun 13, 2016 7:41 pm 
Offline
Total Newbie

Joined: Mon Jun 13, 2016 6:55 pm
Posts: 2
oxygen8 wrote:
try telnet

set the password for root
the use
Code:
/usr/sbin/telnetd


I'm in! :biglol: thank you!


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


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