09 Oct
Elasticfox and Putty
Do you see the lovely:
“Disconnected, No supported authentication methods available”
This is because you are trying to use an ssh-key that is not putty compatible. This is easy to fix:
1) Download PuTTYgen
2) Start puttygen.exe
3) Click the “Load” Button, browse to your key, you might need to select “All Files” under the “Files of Type” dropdown
4) Then click “Save” and save the newly generated key in a new location i.e. c:\keys\puttykeys
Do not save over the other key in case you ever want to use Linux. Which you should
5) In ElastixFox, click the “Tools” button, and in the field “SSH Key Template”, put the location of your newly generate putty key i.e. C:\keys\puttykeys\${keyname}.ppk
6) Done
22 Mar
Tortoise Subversion and svn+ssh – The Final Solution. ahhh
Getting Tortoise Subversion and svn+ssh working on Windows is a six-step process.
1) Install cygwin.
- Goto the cygwin main site (http://www.cygwin.com/) and click on intall.
- Select of local folder where to install cygwin. We will refer to this folder as CYGWIN_HOME
- In the package selection tree, navigate under “Net” and check “openssh”
- Finish the installation of cygwin
2) Install TortoiseSVN
- Goto the main tortoise site : http://tortoisesvn.tigris.org/
- Download and install the latest version of TortoiseSVN
- Reboot you computer
3) Create your encryption keys
- Open a cygwin bash window
- Run:
ssh-keygen -t rsa
Choose a safe passphrase
4) Send your public key to the svn administrator
The public key file to send is located in your cygwin home:
CYGWIN_HOME\home\YOUR_WINDOWS_USERNAME\.ssh\id_rsa.pub
5) Setup TortoiseSVN to use cygwin ssh
- From the Windows Explorer, right click on any folder. Select: TortoiseSVN/Settings
- In the settings window, pick Network. In the SSH section, hit browse to point to cygwin ssh.
- In the file browser, select CYGWIN_HOME\home\bin\ssh.exe
6) Setup the ssh agent
The ssh agent will save you from typing your password everytime you use subversion.
You will be prompted to enter your passphrase
You will get values for two bash environment variables: SSH_AGENT_PID and SSH_AUTH_SOCK
- Minimize (don’t close) the bash window
Next, you need to replicate these two variables for windows applications.
- From the Windows desktop, right-click on MyComputer
- Select the Advanced tab
- Click on Environment Variables
- Create two variables SSH_AGENT_PID and SSH_AUTH_SOCK with their values from the bash shell
- Restart Windows Explorer
Note : Step 6 needs to be manually performed each time you reboot or logon
28 Jun
If you run multiple RD’s on your LAN, you may need more ports to access these boxes:
Start Registry Editor (Regedt32.exe).
Locate the following key in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control
\TerminalServer\WinStations\RDP-Tcp\PortNumber
On the Edit menu, click Modify, click Decimal,
type the new port number, and then click OK.
Quit Registry Editor.
28 Jun
This is a fun one. If you want to call a function in your parent window from a popup:
parent windw:
function test(){
}
in popup:
window.opener.test();
28 Jun
Make sure your SQL table aliases and joins are written correctly. If not, don’t expect to use mySQL 5.0 which is set in Strict Mode by default.
30 Mar
I love Open Source, but the documentation isn’t quite up to speed. I remember the days of trying to complete simple setup/install, lets take stunnel on linux or cvs for example. I would chew my pens like gum waiting and hoping somebody would finally post something usefull. So, I hope in my future postings I will be able to accomodate those users in the search for the “useful answer”.
30 Mar
Finally!!! I have been thinking about setting up a blog for months. Reading all those articles and news letters on how great they are finally sunk in. But… I am going to use this blog to document my discovers in both Hardware and Software. My brain get’s full and I need somewhere to store this info(Johnny N). Anyways, I will be posting all the goodies I learn for all you out there. So… Enjoy