<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-15133646</id><updated>2011-04-21T14:32:58.339-07:00</updated><title type='text'>man women</title><subtitle type='html'>A technical notebook which I can refer from time time.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://man-women.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://man-women.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>santm</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='http://www.santm.com/aarush-pamela-santm2.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-15133646.post-7914046834046229071</id><published>2007-07-18T23:07:00.000-07:00</published><updated>2007-07-18T23:07:49.281-07:00</updated><title type='text'>ParisDailyPhoto: Free Wi-Fi in Paris</title><content type='html'>&lt;a href="http://www.parisdailyphoto.com/2007/07/free-wi-fi-in-paris.html"&gt;ParisDailyPhoto: Free Wi-Fi in Paris&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There are lots of hot spot to choose from if you are a &lt;a href="http://www.fon.com"&gt;FON&lt;/a&gt; member. Eric, I was thinking you would have kept the location as a secret and a question like the pilers of  Madeleine for the viewers ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15133646-7914046834046229071?l=man-women.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.parisdailyphoto.com/2007/07/free-wi-fi-in-paris.html' title='ParisDailyPhoto: Free Wi-Fi in Paris'/><link rel='replies' type='application/atom+xml' href='http://man-women.blogspot.com/feeds/7914046834046229071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15133646&amp;postID=7914046834046229071' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/7914046834046229071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/7914046834046229071'/><link rel='alternate' type='text/html' href='http://man-women.blogspot.com/2007/07/parisdailyphoto-free-wi-fi-in-paris.html' title='ParisDailyPhoto: Free Wi-Fi in Paris'/><author><name>santm</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='http://www.santm.com/aarush-pamela-santm2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15133646.post-114795607247546900</id><published>2006-05-18T05:38:00.000-07:00</published><updated>2006-05-18T07:11:32.323-07:00</updated><title type='text'>load cpu  &amp; memory shell script c program for quick and dirty benchmark</title><content type='html'>This script is a simple empty while loop which will load or increase the usage of your cpu.&lt;br /&gt;a good way to test your cpu check for different monitoring tool&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt; while :&lt;br /&gt;&gt; do :&lt;br /&gt;&gt; done&lt;br /&gt;&lt;br /&gt;/home/sanmisra&gt;more memory.c&lt;br /&gt;&lt;blockquote&gt;main ()&lt;br /&gt;{&lt;br /&gt;while ( 1 ) {&lt;br /&gt;malloc (10240) ;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15133646-114795607247546900?l=man-women.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://man-women.blogspot.com/feeds/114795607247546900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15133646&amp;postID=114795607247546900' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/114795607247546900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/114795607247546900'/><link rel='alternate' type='text/html' href='http://man-women.blogspot.com/2006/05/load-cpu-memory-shell-script-c-program.html' title='load cpu  &amp; memory shell script c program for quick and dirty benchmark'/><author><name>santm</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='http://www.santm.com/aarush-pamela-santm2.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15133646.post-114674166969425572</id><published>2006-05-04T04:18:00.000-07:00</published><updated>2006-05-04T04:21:09.706-07:00</updated><title type='text'>add new administrator and management post for smartdashboard firewall-1</title><content type='html'>1.Add the user in the system password file for *nix it will be in /etc/passwd and /etc/shadow&lt;br /&gt;2. Add his host(PC) to /etc/hosts&lt;br /&gt;3. Use cpconfig  ( /opt/CPshrd-53/bin/) in case of Solaris&lt;br /&gt;&lt;br /&gt;Rest is menu driven&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15133646-114674166969425572?l=man-women.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://man-women.blogspot.com/feeds/114674166969425572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15133646&amp;postID=114674166969425572' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/114674166969425572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/114674166969425572'/><link rel='alternate' type='text/html' href='http://man-women.blogspot.com/2006/05/add-new-administrator-and-management.html' title='add new administrator and management post for smartdashboard firewall-1'/><author><name>santm</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='http://www.santm.com/aarush-pamela-santm2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15133646.post-113103074971288731</id><published>2005-11-03T07:10:00.000-08:00</published><updated>2005-11-03T07:13:32.196-08:00</updated><title type='text'>part -2</title><content type='html'>create indivitual pages for each image dirty way with php&lt;br /&gt;[code]&lt;br /&gt;&lt;?php&lt;br /&gt;//$image_files=[] ;&lt;br /&gt;$type = "jpg";&lt;br /&gt;$abspath_folder = "/home/santm/public_html/PamelasCreation/images" ;&lt;br /&gt;if ( is_dir ( $abspath_folder ) ) {&lt;br /&gt;        if ( $handle = opendir( $abspath_folder ) ) {&lt;br /&gt;        while (false !== ( $file = readdir($handle ) ) ) {&lt;br /&gt;                if ( $file != '.' &amp;&amp; $file != '..' &amp;&amp; $file != 'CVS' &amp;&amp; $file != 'index.html' ) {&lt;br /&gt;        //santm         echo "FILE is $file \n" ;&lt;br /&gt;                        $the_array[] = $file;&lt;br /&gt;                        }&lt;br /&gt;                }&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;closedir( $handle );&lt;br /&gt;// end of reading the directory&lt;br /&gt;// santm print_r ( $the_array );&lt;br /&gt;// making sure the array only has our jpg image starting with a number&lt;br /&gt;foreach ( $the_array as $img ) {&lt;br /&gt;         if ( !is_dir( $abspath_folder .'/'. $img ) ) {&lt;br /&gt;                  if ( eregi( $type, $img ) &amp;&amp; eregi ( "^[0-9]", $img)) {&lt;br /&gt;                $the_image[] = $img;&lt;br /&gt;                }&lt;br /&gt;           }&lt;br /&gt;}&lt;br /&gt;// the main part&lt;br /&gt;if ( !$the_image ) {&lt;br /&gt;   echo "no image \n";&lt;br /&gt;}&lt;br /&gt;else {&lt;br /&gt;   $i = count ( $the_image);&lt;br /&gt;   echo "count $i\n";&lt;br /&gt;   // sort the array&lt;br /&gt;   rsort ($the_image) ;&lt;br /&gt;   //print_r ($the_image ) ;&lt;br /&gt;   for ($k = 0 ; $k &lt; $i ; $k++)  {&lt;br /&gt;   $bb = $k+1 ;&lt;br /&gt;        echo "santm $the_image[$k] \n" ;&lt;br /&gt;                $full_name = explode (".",$the_image[$k]);&lt;br /&gt;                $short_name = $full_name[0];&lt;br /&gt;                $foo_img = images .'/'. $short_name;&lt;br /&gt;                if ( $k != 0 ) {&lt;br /&gt;                $pre_name = explode (".",$the_image[$k - 1]);&lt;br /&gt;                $pre_short_name = $pre_name[0];&lt;br /&gt;                }&lt;br /&gt;                if ($bb != $i ){&lt;br /&gt;                $next_name = explode (".",$the_image[$k + 1]);&lt;br /&gt;                $next_short_name = $next_name[0];&lt;br /&gt;                }&lt;br /&gt;                echo " short $short_name \n";&lt;br /&gt;                //&lt;br /&gt;// doing dirty way with system call for placing the header&lt;br /&gt;                //&lt;br /&gt;                $head_out = shell_exec ('cat /home/santm/head.pam.inc');&lt;br /&gt;                $write_handle = fopen ("/home/santm/public_html/PamelasCreation/$short_name.html","w+");&lt;br /&gt;                fwrite ($write_handle,$head_out);&lt;br /&gt;&lt;br /&gt;                fwrite ($write_handle,"&lt;tr&gt;&lt;td colspan=\"3\"&gt; $bb of $i&lt;/td&gt;&lt;/tr&gt;\n");&lt;br /&gt;                fwrite ($write_handle,"&lt;tr align=\"center\"&gt;&lt;td align=\"center\" colspan=\"3\"&gt; &lt;div class=&lt;br /&gt;\"big_photo\"&gt;\n");&lt;br /&gt;                fwrite ($write_handle,"&lt;img src=\"images/$the_image[$k]\"&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;\n");&lt;br /&gt;                if ( $pre_short_name ) {&lt;br /&gt;                fwrite ($write_handle,"&lt;td  width=\"10/%\"align=\"left\"&gt;&lt;a href=\"$pre_short_name.html\"&gt;&lt;&lt;br /&gt;img src=\"images/previous.gif\" alt=\"next\" border=\"0\"&gt;&lt;/a&gt;&lt;/td&gt;\n");&lt;br /&gt;                }&lt;br /&gt;&lt;br /&gt;if ((!$pre_short_name) || (!$next_short_name))  {&lt;br /&gt;&lt;br /&gt;                fwrite ($write_handle,"&lt;td colspan=\"2\" align=\"center\"&gt;&lt;a href=\"index.html\" width=\"90&lt;br /&gt;/%\"&gt;&lt;img src=\"images/home.gif\" alt=\"home\" border=\"0\"&gt;&lt;/a&gt;&lt;/td&gt;\n");&lt;br /&gt;}&lt;br /&gt;else {&lt;br /&gt;                fwrite ($write_handle,"&lt;td width=\"80/%\" align=\"center\"&gt;&lt;a href=\"index.html\"&gt;&lt;img src=&lt;br /&gt;\"images/home.gif\" alt=\"home\" border=\"0\"&gt;&lt;/a&gt;&lt;/td&gt;\n");&lt;br /&gt;                }&lt;br /&gt;&lt;br /&gt;                if ( $next_short_name ) {&lt;br /&gt;                fwrite ($write_handle,"&lt;td width=\"10/%\"align=\"right\"&gt;&lt;a href=\"$next_short_name.html\"&gt;&lt;br /&gt;&lt;img src=\"images/next.gif\" alt=\"next\" border=\"0\"&gt;&lt;/a&gt;&lt;/td&gt;\n");&lt;br /&gt;                }&lt;br /&gt;                fwrite ($write_handle,"&lt;/tr&gt;\n");&lt;br /&gt;                 fwrite ($write_handle,"&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;\n");&lt;br /&gt;                fclose ($write_handle) ;&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;[/code]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15133646-113103074971288731?l=man-women.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://man-women.blogspot.com/feeds/113103074971288731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15133646&amp;postID=113103074971288731' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/113103074971288731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/113103074971288731'/><link rel='alternate' type='text/html' href='http://man-women.blogspot.com/2005/11/part-2.html' title='part -2'/><author><name>santm</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='http://www.santm.com/aarush-pamela-santm2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15133646.post-113103063636669248</id><published>2005-11-03T07:07:00.000-08:00</published><updated>2005-11-03T07:10:36.376-08:00</updated><title type='text'>photo album : imagemagick (part -1)</title><content type='html'>Quick and dirty way of creating photo album &lt;br /&gt;&lt;br /&gt;creating images with black border as it looks good for all &lt;br /&gt;&lt;br /&gt;[code]&lt;br /&gt;#!/bin/csh&lt;br /&gt;set files = `echo [0-9]*.jpg`&lt;br /&gt;echo $files&lt;br /&gt;foreach file ( $files )&lt;br /&gt;set w = `identify -format  "%w" $file`&lt;br /&gt;set h = `identify -format  "%h" $file`&lt;br /&gt;if ($w &gt; $h) then&lt;br /&gt;convert $file -thumbnail 500X -bordercolor black -border 1 /tmp/foo100/$file&lt;br /&gt;else&lt;br /&gt;convert $file -thumbnail X500 -bordercolor black -border 1 /tmp/foo100/$file&lt;br /&gt;endif&lt;br /&gt;end&lt;br /&gt;[/code]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15133646-113103063636669248?l=man-women.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://man-women.blogspot.com/feeds/113103063636669248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15133646&amp;postID=113103063636669248' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/113103063636669248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/113103063636669248'/><link rel='alternate' type='text/html' href='http://man-women.blogspot.com/2005/11/photo-album-imagemagick-part-1.html' title='photo album : imagemagick (part -1)'/><author><name>santm</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='http://www.santm.com/aarush-pamela-santm2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15133646.post-112902282062760481</id><published>2005-10-11T02:18:00.000-07:00</published><updated>2005-10-11T02:33:38.333-07:00</updated><title type='text'>Migrating rrd database between different architecture</title><content type='html'>&lt;p&gt;This script you run on the source host from the same directory where all those rrd files are there. I found this very helpful while migrating between Linux and Solaris.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;pre class="PROGRAMLISTING"&gt;&lt;br /&gt;#/bin/csh&lt;br /&gt;&lt;br /&gt;set all_files=`echo *.rrd`&lt;br /&gt;echo $all_files&lt;br /&gt;foreach file ( $all_files )&lt;br /&gt;set base = `basename $file .rrd`&lt;br /&gt;/bin/rrdtool dump $file &gt; /tmp/new1/$base.xml&lt;br /&gt;end&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;The do a `tar` with `gzip` as that will save lots of space and time while transferring data between machines.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;And on the destination machine you uncompress and untar the file to an empty directory.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;pre class="PROGRAMLISTING"&gt;&lt;br /&gt;#/bin/csh&lt;br /&gt;&lt;br /&gt;set all_files=`echo *.xml`&lt;br /&gt;echo $all_files&lt;br /&gt;foreach file ($all_files)&lt;br /&gt;set base = `basename $file .xml`&lt;br /&gt;/opt/local/bin/rrdtool restore $file /opt/local/htdocs/cacti/rra/$base.rrd&lt;br /&gt;end&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15133646-112902282062760481?l=man-women.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://man-women.blogspot.com/feeds/112902282062760481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15133646&amp;postID=112902282062760481' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/112902282062760481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/112902282062760481'/><link rel='alternate' type='text/html' href='http://man-women.blogspot.com/2005/10/migrating-rrd-database-between.html' title='Migrating rrd database between different architecture'/><author><name>santm</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='http://www.santm.com/aarush-pamela-santm2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15133646.post-112798720569199251</id><published>2005-09-29T02:36:00.000-07:00</published><updated>2005-09-29T02:46:45.696-07:00</updated><title type='text'>Gallery2</title><content type='html'>Well  I am having lots of troubgle with a simple gallery2 installation with 15 pictures for my wife's hobby pictures. While I am running a 1600 picture gallery on the same server with out any problem touch wood. The back on the main one not there.&lt;br /&gt;&lt;br /&gt;And i am having wonderful tech support from dot5 hosting to say the least. The guy does not even know what is Unix he replies it is FreeBSD.&lt;br /&gt;&lt;br /&gt;A quick a dirty way to get around. Let's assme the site name is www.mysite.com Here the usernme for your webserver is not same as your account. So when you create a file ftp you see the owner/group as "joe/joe" and when web server creates it it is "web/web".&lt;br /&gt;&lt;br /&gt;Connect via ftp create a gallery2 directory ; chmod 777 the same on the Top most Document root.&lt;br /&gt;put this file in the same dirctory "gallery-2.0-full.tar.gz" makse sure binary more&lt;br /&gt;also FTP this php file foobar.php with these lines in it&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;?&lt;br /&gt;system ("tar -zxvf gallery-2.0-full.tar.gz") ;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;Now connect to this foobar.php via a web browser.&lt;br /&gt;&lt;br /&gt;Follow the instruction from gallery2 installation when you point your browser to this location&lt;br /&gt;&lt;br /&gt;http://www.mysite.com/gallery2/&lt;br /&gt;&lt;br /&gt;Need to create the g2data directory and chmod 777 via ftp again .&lt;br /&gt;&lt;br /&gt;to finish the same Gallery will ask you chmod 755 gallery2 directory.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15133646-112798720569199251?l=man-women.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://man-women.blogspot.com/feeds/112798720569199251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15133646&amp;postID=112798720569199251' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/112798720569199251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/112798720569199251'/><link rel='alternate' type='text/html' href='http://man-women.blogspot.com/2005/09/gallery2.html' title='Gallery2'/><author><name>santm</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='http://www.santm.com/aarush-pamela-santm2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15133646.post-112368589915113213</id><published>2005-08-10T07:43:00.000-07:00</published><updated>2005-08-10T07:58:36.763-07:00</updated><title type='text'>banner with imagemgick convert</title><content type='html'>To create a banner with mirror effect!!&lt;br /&gt;&lt;br /&gt;  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&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15133646-112368589915113213?l=man-women.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://man-women.blogspot.com/feeds/112368589915113213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15133646&amp;postID=112368589915113213' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/112368589915113213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/112368589915113213'/><link rel='alternate' type='text/html' href='http://man-women.blogspot.com/2005/08/banner-with-imagemgick-convert.html' title='banner with imagemgick convert'/><author><name>santm</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='http://www.santm.com/aarush-pamela-santm2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15133646.post-112368241421452909</id><published>2005-08-10T06:58:00.000-07:00</published><updated>2005-08-10T07:00:14.216-07:00</updated><title type='text'>ssh and scp</title><content type='html'>Via tunnel&lt;br /&gt; &lt;br /&gt;scp -P 2222 font_slewed.gif santm@localhost:/tmp/banner.gif&lt;br /&gt;ssh -p 2222 santm@localhost&lt;br /&gt;&lt;br /&gt;nomally :&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15133646-112368241421452909?l=man-women.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://man-women.blogspot.com/feeds/112368241421452909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15133646&amp;postID=112368241421452909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/112368241421452909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/112368241421452909'/><link rel='alternate' type='text/html' href='http://man-women.blogspot.com/2005/08/ssh-and-scp.html' title='ssh and scp'/><author><name>santm</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='http://www.santm.com/aarush-pamela-santm2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15133646.post-112322991222831115</id><published>2005-08-05T01:13:00.000-07:00</published><updated>2005-08-05T01:32:38.343-07:00</updated><title type='text'>[How To] Puttygen Puttssh for ssh</title><content type='html'>1.  Run  PuttyKeyGen&lt;br /&gt;1.a Make sure you choose SSH2DSA at the bottom&lt;br /&gt;1.b Click on Generate &lt;br /&gt;1.c Move Mouse as mentioned.&lt;br /&gt;&lt;br /&gt;2.  Once the key is generated &lt;br /&gt;2.a Put proper comment for Key username and hostname &lt;br /&gt;2.b Type your Password please try to choose a proper password i.e. with number, special character, upper case hard to guess&lt;br /&gt;2.c Save the public and private key I saved in&lt;br /&gt;&lt;strong&gt;C:\Documents and Settings\santanu.misra &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;3.  Now add pageant.exe to your startup programs as shortcut. &lt;br /&gt;&lt;br /&gt;4.  In the property box modify these &lt;br /&gt;4.a In “Target” Box  add the Private-key file name&lt;br /&gt;4.b In “Start in’’  Box  put the directory where you stored the public key ; look at step 2.c&lt;br /&gt;4.c Make “Run” to minimized&lt;br /&gt;&lt;br /&gt;5.  Right click on pageant and you will see there is an option for adding the key.&lt;br /&gt;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&lt;br /&gt;5.b You can see your key with “view key” option. There is a option to delete your key as well.&lt;br /&gt;&lt;br /&gt;6. Now we need to configure putty to work with our public and private key. The screen shoots are quite self explanatory.&lt;br /&gt;&lt;br /&gt;How ever I did modified &lt;strong&gt;“ScrollbackLines”&lt;/strong&gt; for putty with &lt;strong&gt;regedit&lt;/strong&gt; as I like to have more scroll back line; default is only 200. The ket is located in&lt;br /&gt;&lt;strong&gt;MyComputer\HKEY_CURRENT_USER\Software\SimonTatham\PuttY\Sessions\Default%20Settings&lt;/strong&gt;  &lt;br /&gt;For quick access to known servers you can do this to automate login via (ssh)&lt;br /&gt;&lt;strong&gt;ssh-add -L &gt;&gt; .ssh/authorized_keys&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15133646-112322991222831115?l=man-women.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://man-women.blogspot.com/feeds/112322991222831115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15133646&amp;postID=112322991222831115' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/112322991222831115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15133646/posts/default/112322991222831115'/><link rel='alternate' type='text/html' href='http://man-women.blogspot.com/2005/08/how-to-puttygen-puttssh-for-ssh.html' title='[How To] Puttygen Puttssh for ssh'/><author><name>santm</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='24' src='http://www.santm.com/aarush-pamela-santm2.jpg'/></author><thr:total>0</thr:total></entry></feed>
