一句话代码

opkg update
opkg install openssh-sftp-server

reference:

http://wiki.openwrt.org/doc/howto/sftp.server