Posts

Showing posts from July, 2016

PUTTY - The server's host key is not cached in the registry cache

Error: "The server's host key is not cached in the registry. You have no guarantee that the server is the computer you think it is. The server's rsa2 key fingerprint is: [SSH KEY FINGERPRINT] If you trust this host, enter "y" to add the key to PuTTY's cache and carry on connecting. If you want to carry on connecting just once, without adding the key to the cache, enter "n". If you do not trust this host, press Return to abandon the connection. Store key in cache? (y/n) y" Answer: Simply run this command in your windows preferred terminal (cmd.exe etc) and agree to accept the host and store the cache: C:\Program Files (x86)\PuTTY\plink.exe -ssh [SSH USERNAME]@[SSH HOST] -P [SSH PORT] echo y | pscp -i /path/to/key/file user@remote:/tmp/file  . echo y | plink -i /path/to/key/file scripts.sh Usually you would hit “y” here, assuming the host key is correct, in order to store it in future connection.  The storage of this goes into the Registry under ...

Java Script - How to Retrieve Checkbox Values

1] FormA.asp <html> <head> <title>How to Retrieve Checkbox Value in Java Script</title> </head> <body> <form action="Test.asp" name="frmFormA" method="post"> <TABLE cellSpacing=5>      <tr>  <td bgcolor="#eeeeee" id = "tdManage" >   <div id="DivManage" >    <Strong>     <font face="Garamond"> I hereby certify that: <BR> (Please check all that apply) <BR> <input type="checkbox" value="1" <%=Q1Val%> name="cbSelect1"> (1) Question1; <BR> <input type="checkbox" value="2" <%=Q2Val%> name="cbSelect2"> (2) Question2;<BR> <input type="checkbox" value="3" <%=Q3Val%> name="cbSelect3"> (3) Question3.<BR>     </font >    </Strong>   </div>  </td>  </tr>  <tr>   ...