![]() |
step to step: file transfer between winPC and tablet using SSH
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 |
Re: step to step: file transfer between winPC and tablet using SSH
Thanks! I'm a linux convert but this looks useful for the wiki.
|
Re: step to step: file transfer between winPC and tablet using SSH
As suggested, pasted the wholething to wiki, http://www.internettablettalk.com/wi...itle=Main_Page
bun |
Re: step to step: file transfer between winPC and tablet using SSH
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. |
Re: step to step: file transfer between winPC and tablet using SSH
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 |
Re: step to step: file transfer between winPC and tablet using SSH
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 |
Re: step to step: file transfer between winPC and tablet using SSH
I know the thread is kinda old. But you could try ssh-agent and setup a key with a passphrase.
|
Re: step to step: file transfer between winPC and tablet using SSH
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 |
Re: step to step: file transfer between winPC and tablet using SSH
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) |
Re: step to step: file transfer between winPC and tablet using SSH
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. |
Re: step to step: file transfer between winPC and tablet using SSH
Quote:
1) Have it so the router sets certain computers with certain IPs (not all routers support it..sadly) 2) Have your computers manually do IPs without the router's DHCP (requires manually setting up an IP either on your tablet. Or if you don't want to on your tablet, all the computers besides your tablet). |
Re: step to step: file transfer between winPC and tablet using SSH
static IP is a lot better. I memorized all the IP addresses of my family's computers, router, xbox, tablet, and printer, which makes life easier than DHCP.
|
Re: step to step: file transfer betw een winPC and tablet using SSH
While we are at it: do yourself a favour set up vnc-over-ssh (putty, vncviewer, or tightvnc) with the help of no-ip.com you can use your home computer from work (or any wifi hotspot) and with knots 2 you can listen to your music from your home PC, or you can set up a web server too.
Good instructions for home linux PC here but for windows PC almost same idea applied. |
Re: step to step: file transfer between winPC and tablet using SSH
what can i say!! simply you are the best guys :-) still one last Q to help me choose the best way? so which way should i use the first one mentioned by bunanson the ''WinSCP'' way or the lcuk's suggested ''the Dokan ssh'' way? which one is most safe and easy too? help me descide coz i don't wana play around and flip from one 2 another :-)
thanx in advance for your great job guys :-) |
Re: step to step: file transfer between winPC and tablet using SSH
Quote:
I have been a long term user of winscp. it has features that dokan does not (auto resume, editor selection, ability to open putty session to the machine etc) it is stable and tested and works really nicely, it is my primary contact with the filesystem on my tablets. I use it most of the time, but have dokan available for when i need direct access from specific windows apps. for instance, i have a visual basic app which sets up and configures a development project and it needs to see all the files in the folder - dokan is essential for this and winscp cannot do it. |
Re: step to step: file transfer between winPC and tablet using SSH
Quote:
much preciated:) |
Re: step to step: file transfer between winPC and tablet using SSH
Hey guys,
Is there any way to connect to the pc from the n900? Pretty much transfer files with the n900? For example, if I had my n900 and did not have my pc, but wanted something from my pc. |
Re: step to step: file transfer between winPC and tablet using SSH
Quote:
Rdesktop Ftp SSH scp LogmeIn And various others that have been utilised. It all depends on how far into it you want to go. |
Re: step to step: file transfer between winPC and tablet using SSH
i apologize. i have ssh client installed on my n900. perhaps u could provide a link on how to do this? searching for ssh stuff has been a pain so far. took me so long to figure out how to ssh on my computer but now i can connect to the n900 from my pc via winscp
|
Re: step to step: file transfer between winPC and tablet using SSH
i remoce the post.
|
Re: step to step: file transfer between winPC and tablet using SSH
Quote:
|
Re: step to step: file transfer between winPC and tablet using SSH
What are you exactly trying to do?
|
Re: step to step: file transfer between winPC and tablet using SSH
Quote:
I've got a 1GB SD card and it holds a few games, but I'd like to put a couple more directly onto the N800. I'm trying to figure out the best way to do this. I did get SSH to work, but it was not very clear. First, I installed rootsh. Then I ran sudo gainroot. Then I installed openssh, and was able to connect by finding my IP address using the command "ifconfig" in the x terminal along with port 22. I used FileZilla on my Windows PC to connect to my N800. However, when I tried to connect again, I noticed that I didn't have root access so I couldn't use ifconfig to view my IP address (I forgot what it was). Is there no way to permanently have root access so I don't have to type "sudo gainroot" each time I want to look at my IP address? Or, is there a better way to transfer files directly onto my N800? Please bear in mind I'm a complete linux/N800 newbie here.. I'm learning a lot of things for the first time. |
Re: step to step: file transfer between winPC and tablet using SSH
Of course..1st things 1st....you are heading a little deeper into the pool compared to the shallow end where you should be. For a windows user...I know that this is like another world in compare.
1- just putting games on an sd card isn't going to work 2- using your n800 browser go to maemo.org...at the top there is a section called downloads in "Downloads" ...a button .."os2008" ...under that is a section for your os..."Games". Those are easy click on the install button....they install. Bam 3- researching the methods of properly installing and implementing game files for scumm ...deal with that last ... 4- if you want to put files onto your 1gb card....there is an easier way...a couple in fact....bluetooth is one. wifi transfer is another...but easiest for you is this: a- put your sd card 1st into the external slot under the foldout stand b- open the file manager c- hopefully the file system shows the external sd card...(if it doesn't pull it out put it in your computer and format it with panasonic sd card formatter)....click and highlight the external sd card...then go to the top left drop down in the file manager window....format the card. then the card should have no prob with compat. 5- pull out the pc to n800 connector cable you just used to flash with 6- make sure your nokia is on close the file manager...plug in the cable 7- your comp will find 2 areas...one is the sd card..click and open it..drag and drop whatever files/folders from your computer to your sd card...wait for it to finish...close window...ALWAYS MAKE SURE YOU PROPERLY SAFELY REMOVE USB DEVICE BEFORE UNPLUGGING THE CABLE. FORGET AND IT WON"T BE FUN FOR YOUR SD CARD. :) 8- Bob's your uncle :D 9-Remember to please post in the relevant subsection for your device/os/prob .. ...I can't help while you bounce around the forum subsections....it makes it difficult if not impossible for others who would like to reference and find out how a problem was solved if the question is in one forum but the answers are spread throughout many others. |
Re: step to step: file transfer between winPC and tablet using SSH
Transferring 1GB file took me 35 mins OpenSSH vs WinSCP using scp. Am I doing something wrong, or is SSH slow as a turtle?
Not only was it painfully slow, but it drains my battery fast and of course I can't switch batteries during the process. |
Re: step to step: file transfer between winPC and tablet using SSH
I rarely try transferring files that large ssh-ing.
bluetooth, wifi, usb...alot quicker. |
Re: step to step: file transfer between winPC and tablet using SSH
Could you please point me where to read about wi-fi transferring without SSH. I had an impression it was only possible using SSH. Tried bluetooth - even slower. .
|
Re: step to step: file transfer between winPC and tablet using SSH
Speaking of bluetooth transfer ...I just finished transferring about 800 mb of graphic work from my n800 to my comp....took a few hours...yeah...wifi is quicker...usb quicker still...transfer speed is dependent on many factors....I know that 1 file at 800mb will transfer much faster than 2317 files at 800mb ...for example.
Geez...been doing so long...don't even really think about a step by step. Hmmmm....Simply put... the point is to enable your nxx0 device to access a specific file folder on your pc. As far as your pc goes under devices enable wifi or bluetooth or both....make sure your pc is visible for it... for that nxx0....and the same for the nxx0 to see the pc. once you are able to have both devices see each other ...drag and drop files onto pc folder designated for transfer...(the key point is the specific folder you wish to enable sharing must be enabled to share...ie permission to share).... Then access shared devices on target nxx0 ...and simply move files to a locale in your nxx0 file system. I know this seems a bit vague in explanation...but explicit directions do vary depending on the specific p.c. o.s. . |
Re: step to step: file transfer between winPC and tablet using SSH
Quote:
|
Re: step to step: file transfer between winPC and tablet using SSH
Quote:
|
Re: step to step: file transfer between winPC and tablet using SSH
kureyon, still much slower than USB-cable.
|
All times are GMT. The time now is 20:36. |
vBulletin® Version 3.8.8