Showing posts from August, 2005

banner with imagemgick convert

To create a banner with mirror effect!!

convert -size 600x130 xc:transparent -font forte -pointsize 72 -fill "#cccccc" -annotate 0x180+12+80 "Pamela's Gallery" -gaussian 0x2 -stroke black -strokewidth 1 -fill "#ff3600" -stroke black -strokewidth 1 -annotate 0x0+12+55 "Pamela's Gallery" -draw "line 0,68 570,68" banner.png

ssh and scp

Via tunnel

scp -P 2222 font_slewed.gif santm@localhost:/tmp/banner.gif
ssh -p 2222 santm@localhost

nomally :

[How To] Puttygen Puttssh for ssh

1. Run PuttyKeyGen
1.a Make sure you choose SSH2DSA at the bottom
1.b Click on Generate
1.c Move Mouse as mentioned.

2. Once the key is generated
2.a Put proper comment for Key username and hostname
2.b Type your Password please try to choose a proper password i.e. with number, special character, upper case hard to guess
2.c Save the public and private key I saved in
C:\Documents and Settings\santanu.misra

3. Now add pageant.exe to your startup programs as shortcut.

4. In the property box modify these
4.a In “Target” Box add the Private-key file name
4.b In “Start in’’ Box put the directory where you stored the public key ; look at step 2.c
4.c Make “Run” to minimized

5. Right click on pageant and you will see there is an option for adding the key.
5.a Choose your private key file that was generated with “PuttyKeyGen” and it will ask for the “Passphrase” enter the password you entered in step 2.b
5.b You can see your key with “view key” option. There is a option to delete your key as w…