sftp-server: not found

4 posts / 0 new
Last post
SaiTech
SaiTech's picture
sftp-server: not found

Hi all,

I love the FWB, and I want to have it on my WNR3500L router, but i got an error when i install the rule.

I run DD-WRT on my WNR3500L

The Error:
Copying C:/FWBuilder30/FWB File Store/rc.firewall.local -> 192.168.1.1:/tmp/
Running command 'C:/FWBuilder30/FWB Tools/pscp.exe -pw XXXXXX option -scp -q C:/FWBuilder30/FWB File Store/rc.firewall.local [email protected]:/tmp/'
sh: /usr/libexec/sftp-server: not found
unable to initialise SFTP: could not connect
SSH session terminated, exit status: 1

I tryed this with no success..
To get around this, enter command line option -scp" in the "Additional command line parameters for scp" input field in the "Installer" tab of the firewall object dialog, visible at the bottom of the screenshot here.

if i sccess with winscp i got this error

Command 'groups'
failed with return code 127 and error message
-sh: groups: not found.

Anyone how want to help me?

/SaiTech

uday
uday's picture
I have the same issue. I did

I have the same issue. I did follow
http://www.dd-wrt.com/wiki/index.php/SFTP_with_DD-WRT
but no use. I still end up in the same issue. Any way to get this working?

Thanks
Uday

Kong
Kong's picture
Where do you have that

Where do you have that command from?

C:/FWBuilder30/FWB Tools/pscp.exe -pw XXXXXX option -scp -q C:/FWBuilder30/FWB File Store/rc.firewall.local [email protected]:/tmp/

The error message is already telling you that your command is wrong, you want scp (-scp) as transfer method since dd-wrt has not sftp server built in , but as the error tells you it did not accept the specified option:-)

So remove "option" and it should work. -scp is an option and "option" is no option, but the manuals says:

http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter5.html

"pscp [options] source [source...] [user@]host:target"

this means that you can substitue [options] with options like -scp, -v, -p ...:-)

I hope that you do have more understanding of firewall options otherwise you'll probably mess up instead of improving them.

uday
uday's picture
Thanks for clarifying it. Now

Thanks for clarifying it. Now I get it, and it works!!!

Thanks again
Uday