DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-05-21 18:22:52

turkvu
Member
Registered: 2010-09-29
Posts: 30

SSH to DNS321 - Connection Refused

When trying to SSH to my Dlink 321 I'm getting "Network Error: Connection Refused". It was connecting just fine until about a week ago and I haven't changed anything since then...any ideas?

Offline

 

#2 2011-05-21 20:39:20

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: SSH to DNS321 - Connection Refused

Did you reboot?
Did you try telnet?


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#3 2011-06-01 08:26:48

turkvu
Member
Registered: 2010-09-29
Posts: 30

Re: SSH to DNS321 - Connection Refused

Yes - have rebooted several times. Telnet seems to work...

Offline

 

#4 2011-06-01 21:44:48

augusto
Member
Registered: 2011-03-04
Posts: 6

Re: SSH to DNS321 - Connection Refused

@turkvu
can you telnet to the box and check that the sshd start script is executable?

Offline

 

#5 2011-06-02 03:21:56

turkvu
Member
Registered: 2010-09-29
Posts: 30

Re: SSH to DNS321 - Connection Refused

-rwxrwxrwx 1 root root  971 May 19  2009 sshd.sh

Offline

 

#6 2011-06-02 21:21:43

augusto
Member
Registered: 2011-03-04
Posts: 6

Re: SSH to DNS321 - Connection Refused

mmm, please try the following (sorry if you've already tried this):

telnet to the box and run /ffp/start/sshd.sh status this should say if ssh is running and helps to find out if you're being blocked to connect to the port 22 by something else.

if the previous command says that sshd is not running, start it from the telnet session by running /ffp/start/sshd.sh start and try to ssh to the box again. If you didn't get an error trying to start ssh and you cannot ssh from a remote box, try running the following from telnet ssh localhost. If the previous command works, it means that there's something between yor pc and the dns box that it's blocking the port 22.

Offline

 

#7 2011-06-08 01:55:52

neilr9
New member
Registered: 2011-06-08
Posts: 3

Re: SSH to DNS321 - Connection Refused

Hi,

Are you using Putty? The connection from my work place always gives me that error with Putty. Bitwise tunnelier works though. I've not figured out why. Maybe worth a try?

Offline

 

#8 2011-07-09 21:24:30

turkvu
Member
Registered: 2010-09-29
Posts: 30

Re: SSH to DNS321 - Connection Refused

Been a while, but thanks to augusto for helping me figure this out. Telneting in and trying to start ssh showed that my permissions were too open and ssh wouldn't start. Running chmod -R 600 /ffp/etc/ssh seemed to do the trick.

Thanks.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB