Reply
Thread Tools
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#1
step by step: file transfer between winPC and tablet using SSH

WARNING: I know NOTHING about security, if you care about security, you need to check it out yourself before attempting. Again, my only security is my user and password, if you pick something real simple, like rootme, tablet, n800, you may open your whole tablet to the world, like, uh.........flashing/indecent exposure

1) set up password for root (Optional step only if you do not know your password for root )
xterm
sudo gainroot
passwd
bunSSH (substitute with your own password and remember it, you need it for the whole installation)

2) install openssh on tablet
App manager>browse installable app>openssh
will install openSSH, openSSH-client, openssh-server
set new root password> bunSSH

3) dl/install WinSCP 4.1.6 http://winscp.net/eng/download.php#download2
click the first choice, installation package.
you need to know your tablet ip address, connection manager>Internet connection>IP address

Winscp installation,
session tablet ip address
user root
password bunSSH

save the installation so you dont have to do it everytime
"....are you sure this is the computer your want to...." yes and save it in cache

done

Now you are presented with a window of the local file and a window of the tablet, txf file by dragging files between windows. Happy winSCP!


Some good links:http://www.internettablettalk.com/fo...ad.php?t=17955, hamachi

If you are using the same drive over and over again, just save the sessions, the next time you log into the sessions, the drives/files are right there.

enjoy,

N8x0/Diablo/MMC boot
770/Chinook/MMC boot
Edit: work for N900 too

if you forget your root password, no sweat, info here, http://talk.maemo.org/showthread.php?t=11047, thread #15

bun

Last edited by bunanson; 2010-01-18 at 20:13.
 

The Following 16 Users Say Thank You to bunanson For This Useful Post:
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#2
Thanks! I'm a linux convert but this looks useful for the wiki.
 

The Following User Says Thank You to iamthewalrus For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#3
 

The Following User Says Thank You to bunanson For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#4
Nice guide, thanks!

A few notes though.

Step 1 is not needed. OpenSSH will set the root password for you during install.

Step 3 is not needed either. "ssh" is a client program and running it on it's own will do nothing. The real openssh server is started automatically while installing openssh and is started automatically everytime the tablet is booted up.
 

The Following 4 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#5
Thanks quwerty12, changed as suggested.

I put step 1) there so that user knows what password they set.
I deleted step 3). Any suggestion or concerns about security? Does having tablet leave on 24/7 as openssh-server compromise security?
or it is there anyway, right?

thanks again,

bun

Last edited by bunanson; 2008-09-28 at 20:20.
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#6
I usually carry my BT around to txf files between my pc and the tablet. I txf files around 6-8 x a day. I constantly input data to my tablet and dl to pc to IM to my office. I was surprised to find out that the place I worked allow pgm installation (Most admin lock out pgm install on public computers), I installed winSCP and now I am using SSH winSCP to do file txf. What a breeze! For some reason, BT files txf and "shared folders" txf both "sometimes" do NOT work, this is much more reliable than BT/"shared folders".

WARNING: my security, as alluded to on the first post the way I did it, is only my user name and password. When dealing with utmost sensitive info, you need more security. Any suggestions?

bun
 
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#7
I know the thread is kinda old. But you could try ssh-agent and setup a key with a passphrase.
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 

The Following User Says Thank You to Laughing Man For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#8
lcuk suggested Dokansshfs, will make your tablet show up as a drive on your PC, http://talk.maemo.org/showthread.php...029#post288029

Step by step guide :-)

Go http://dokan-dev.net/en/, and dl dokan library and dokan SSHFS
WARNING per author, better do it in a VirtualMachine if developing programs, may cause BSOD. I got no VM, I just did it on my winPC and has been fine so far.

winPC
1) Unzip dokan library and run the installer
2) unzip dokan sshfs and run the installer
3) reboot window

N8x0
install openssh
AppManager>Browse installable apps>openssh
During the installation of openssh, they will ask for a password, pick something secure and remember it, you will need this password for SSHFS.
reboot N8x0
You need the tablet ip address, Menu>ConnectionManager>Internet connection>IP address

winPC
click DokanSSHFS, it works exactly like openssh
Name: Session name, N800_1
Host: your tablet ip address, something like 192.xxx.x.xxx
User: root
Password: Enter the same password above (the one you setup the tablet)
If you have more than one drive, you would have to specify a drive letter.

Click Connect
You should now see a drive letter in My Computer, use it just like a window drive.

winXP
770/N8x0, yes 770 running 2008HE has been tried and worked.

Related links,

step by step, SSH/SCP without password, http://talk.maemo.org/showthread.php?t=26157
More involved, "...You can go one step further and install sshfs, and then, instead of using the scp command, you can mount remote directories on your tablet as if they were local directories. Then you can copy files using the File Manager..." qole, http://talk.maemo.org/showthread.php?t=26157
Mac, http://talk.maemo.org/showthread.php...029#post288029, thread #2.

enjoy,

Edit: corrected, thanks lcuk.


bun

Last edited by bunanson; 2009-05-23 at 18:25.
 

The Following 5 Users Say Thank You to bunanson For This Useful Post:
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#9
bun,

excellent, except the password you enter on the Windows side should be the same password as on the tablet side - so the ssh session can decrypt the frames sent from the tablet.

I cannot see a windows based security problem with this, since its the client and not the server.

(thats my understanding anyway, I could be wide of the mark)
__________________
liqbase sketching the future.
like what i say? hit the Thanks, thanks!
twitter.com/lcuk
 

The Following 3 Users Say Thank You to lcuk For This Useful Post:
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#10
Thanks, bunanson and everyone else who helped set this out so clearly.

One little new thing that may help someone. I found that my usual WinSCP log-in wouldn't work, and it turned out that my tablet's IP address, which had ended with .100, had been switched (by my ISP, or by the order I started up online sessions on different computers?), to .102. All WinSCP had said was that it couldn't connect. I checked, found the IP address had changed, and just edited my login.
 

The Following 2 Users Say Thank You to GeraldKo For This Useful Post:
Reply

Tags
file transfer, ssh app, winscp


 
Forum Jump


All times are GMT. The time now is 18:50.