View Single Post
Old 12-05-2006, 08:38 AM   #3
k2r
Zealot
k2r doesn't litterk2r doesn't litter
 
Posts: 124
Karma: 177
Join Date: Jul 2006
Location: Bochum, Germany
Device: MP2K, iLiad
Quote:
Originally Posted by narve
- Perhaps I can drop dropbear and use openssh instead, I believe that one supports scp?
The commandline is your friend:
You can just do this (from the head, my iLiad is at home):

user@desktop: cat FILE_TO_TRANSFER | ssh root@YOUR_ILIAD_IP "cat - > /WHERE_THE_STUFF_GOES/FILE_TO_TRANSFER"

for a directory you could use something like this:

user@desktop: cd WHERE_YOUR_STUFF_IS
user@desktop: tar cO -C . DIRECTORY_TO_TRANSFER | ssh root@YOUR_ILIAD_IP "tar x --no-same-owner -C /WHERE_THE_STUFF_GOES -f -"

SINCE YOU ARE ROOT ON THE ILIAD YOU HAVE ABSOLUTE POWER AND YOU CAN REMOTELY OVERWRITE THE COMPLETE FILESYSTEM AND BRICK IT!

Thank you for observing all safety precautions
#!chris

Last edited by k2r; 12-05-2006 at 09:05 AM.
k2r is offline   Reply With Quote