Grsync without password using Public Key authentication

Posted on January 26, 2007
Filed Under Maemo, N800, Tutorials |

Update:Rsync is available for 770 here.

For N800 use this repo:

repo_name = mg
repo_deb = deb http://mg.pov.lt/770 mistral user other
package = rsync

Thins you’ll need:

First you have to gain root access. In Nokia N800 it works pretty much the same as in 770. I used the ssh-method explained in Maemo wiki.

Next you have to make the keys:

Nokia-N800-51:~/.ssh# dropbearkey -t rsa -f mykey
Will output 1024 bit rsa secret key to ‘mykey’
Generating key, this may take a while…
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABA…

Fingerprint: md5 e6:a6:45:84:9d:59:9f:4a:bf:97:12:ca:56:f0:36:60

Then edit the ~/.ssh/authorized_keys in your server to something like:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQAB… username@myserver.com

Remeber to add the username@myserver.com to the end.

Then try to connect from your device to the server with the new key:

~/.ssh $ dbclient -i /user/.ssh/mykey username@myserver.com

If there is a problem with “random data”, the try this as a root in yourtablet:

mv /dev/random /dev/random-blocks
ln -s /dev/urandom /dev/random

Now to the Grsync configuration. In the source (or destination) field put: username@myserver.com:/directory and to the other field a folder in your tablet.

Next go to Advanced configuration tab end enter this to the other commands box:

-e “dbclient -i /home/user/.ssh/mykey”

Or with Open SSH (recommended)

-e “ssh -o PreferredAuthentications=publickey -i /home/user/.ssh/id_rsa_n800″

Now test your settings by pressing the icon representiang a lamp. If everything work okay, you can continue to the real stuff with the icon beside it. If you have known_hosts problems, go to the terminal and ssh you server with both use and root and save the key. Hopefully this helps your synchronization problems. I’m probably creating a crontab job for automating rsync. I’ll et back to you when I do that.

Links and other stuff:
Wee by now, everybody is confused, but here are the links for OpenSSH implementation:

Comments

22 Responses to “Grsync without password using Public Key authentication”

  1. Pari sportifs on May 25th, 2009 16:17

    thnk you

  2. Meilleur site poker on June 23rd, 2009 02:14

    Very usefull, thanks !

  3. unibet.fr on January 7th, 2010 01:32

    Excellent post, thanks for information.

  4. bwin fr on January 17th, 2010 00:30

    Article very interesting, thanks for sharing.

  5. site de paris en ligne on January 17th, 2010 00:31

    Great post !

  6. betclic.fr on January 23rd, 2010 00:08

    Very useful information, thanks for sharing.

  7. Singulair oral granules prescribing information. on February 23rd, 2010 06:32

    Singulair….

    Norweco singulair aerator. Singulair. Singulair no prescription. Singulair dangers….

  8. Viagra. on February 23rd, 2010 20:42

    Womens viagra….

    Female viagra. Viagra vs cialis. Buy viagra. Cialis viagra. Cheap generic viagra. Order viagra online….

  9. Augmentin. on February 24th, 2010 07:21

    Augmentin r for pneumonia….

    Dr koop augmentin indications amp dosage. Augmentin. Augmentin used for. Augmentin 250mg. Augmentin xr sr….

  10. Delta airlines. on February 24th, 2010 11:48

    Airlines….

    Alaska airlines….

  11. Ultram. on February 25th, 2010 04:55

    Ultram medication….

    Snort ultram. Ultram….

  12. Acomplia rimonabant. on February 26th, 2010 02:07

    Acomplia….

    Acomplia. Buy acomplia. Best pharmacy to buy acomplia. Acomplia diet drug….

  13. Levaquin expiration date. on March 1st, 2010 07:35

    Stronger than levaquin….

    Pediatric levaquin antibiotic. Levaquin and dry eyes. Levaquin….

  14. Sohbet odaları on March 4th, 2010 10:39

    thanks for post. very nice page. see you By’S

  15. Carisoprodol. on March 6th, 2010 08:53

    Carisoprodol patient information….

    Carisoprodol hydrocodone. Carisoprodol. Carisoprodol phentermine yellow. Buy carisoprodol….

  16. Kadın Sohbet on March 6th, 2010 13:44

    bomba linkler tıkla gel

  17. Buy levitra paypal. on March 6th, 2010 18:10

    Levitra….

    Levitra 25mg. Levitra paypal. Buy levitra online….

  18. Cheap viagra. on March 7th, 2010 00:51

    Viagra….

    Buy viagra online. Buy viagra. Viagra for sale. Viagra pills. Viagra….

  19. Viagra. on March 7th, 2010 05:17

    Viagra st….

    Free viagra. Best price on viagra. Free viagra sample. Viagra soft without a prescription. Viagra 6 free samples. Re viagra cello. Viagra….

  20. Cialis no prescription. on March 8th, 2010 13:31

    Cheapest cialis….

    Cialis dose. Cialis review. Cialis stories. Buy cialis. Cialis. Generic cialis….

  21. Keflex used for. on March 9th, 2010 08:26

    Keflex….

    Keflex. Keflex side effects….

  22. Meridia forum. on March 10th, 2010 12:09

    Meridia venezuela….

    C health meridia. Buy meridia. Meridia side effects. Meridia back pain. Meridia weight loss. Meridia. Meridia weight loss pill meridia weight loss….

Leave a Reply




*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word