How to generate an openssh-key from a key generated by putty? (on Debian)

This was the problem that I faced these days; and the answer to it is very simple First thing you have to do is to install putty tools in linux : $app-get install putty-tools Then, just generate the new private key, using puttygen program $puttygen putty-generated-key.ppk -O private-openssh -o openssh-key-name You see, everything is very… Continue reading How to generate an openssh-key from a key generated by putty? (on Debian)

Published
Categorized as Linux

SSH Keys

Some useful commands in “linux” to generate a public key from a private one. ssh-keygen -f ~/id_rsa -y > ~/id_rsa.pub if you receive some warnings regarding users permissions about the private key file, the easiest way is to run the following command chmod 700 id_rsa

Published
Categorized as Linux

How to synchronize two folders in linux

this days I’ve discover a very good command in linux : rsync rsync -avHP –numeric-ids –delete null/images/ /var/lib/jetty6/webapps/images/ -a, –archive archive mode; equals -rlptgoD (no -H,-A,-X) –no-OPTION turn off an implied OPTION (e.g. –no-D) -v, –verbose increase verbosity -H, –hard-links preserve hard links -P same as –partial –progress <strong>–numeric-ids</strong> With this option rsync will transfer… Continue reading How to synchronize two folders in linux

Published
Categorized as Linux