add into host file

opkg update
opkg install empty
nano /mnt/sda1/
empty -f -i in -o out ssh
#empty -w -i out -o in "ogin:" "root\n"
empty -w -i out -o in "assword:" "TopSecret\n"
#empty -s -o in "who am i\n"
empty -s -o in "touch newfile\n"
empty -s -o in "exit\n"
chmod 755 /mnt/sda1/

ssh into server make sure at home directory of username, the file name of newfile is created.

Comments powered by CComment