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-02-16 05:24:22

digiweb
New member
Registered: 2010-07-22
Posts: 2

ssh through putty suddenly stopped working

Hi,

I have funplug installed annd ssh was working from the moment I set it up almost a year ago. However, last week, I setup a backup from this http://dns323.kood.org/howto:backup and now I cannot use putty anymore to login. I probably change something but I don't know what. When I checked my ffp.log this i what's inside:

I only included the log form last time I reset.

Sun Feb 13 21:55:49 EST 2011
ln -snf /mnt/HD_a2/ffp /ffp
* Running /ffp/etc/fun_plug.init ...
* Running /ffp/etc/rc ...
* /ffp/start/syslogd.sh inactive
* /ffp/start/SERVERS.sh inactive
* /ffp/start/portmap.sh inactive
* /ffp/start/unfsd.sh inactive
* /ffp/start/transmission.sh ...
Starting transmission-daemon
* /ffp/start/nfsd.sh inactive
* /ffp/start/ntpd.sh inactive
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh inactive
* /ffp/start/sshd.sh ...
Starting /ffp/sbin/sshd
/ffp/var/lib/sshd must be owned by root and not group or world-writable.

* /ffp/start/rsyncd.sh inactive
* /ffp/start/mediatomb.sh inactive
* /ffp/start/kickwebs.sh inactive
* /ffp/start/lighttpd.sh inactive
* /ffp/start/inetd.sh inactive
* /ffp/start/editcron.sh ...
*  OK

I'm not an experienced unix user but it look like I only need to change the owner and group of the file. But how can I do this if I cannot login using ssh?


Thanks in advance for your help.

Offline

 

#2 2011-02-16 16:59:59

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: ssh through putty suddenly stopped working

You first have to re enable telnet again. Search the forum, there is a dedicated fun_plug.tgz which only enables telnetd.
Then login via telnet, and run

Code:

chown root.root /ffp/var/lib/sshd
chmod 755 /ffp/var/lib/sshd

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB