Monday, January 20, 2014

SSH on Windows


Make sure your .ssh folder is in your home path. If your home path is wrong or not set try to set the HOME environment variable. From cmd you can check if your home is set by running the set home command. If your in a domain and the HOME path is set by active directory, you can do the following in a startup script:

set HOME=c:\users\...

As long as the ssh keys are correct, they should be used.

This isn't magic.

Saturday, January 18, 2014

Web.config Transformations Reminder

To save me more future frustration, Web.config transformations from Web.Release.config and/or Web.Debug.config don't seem to work when ran locally within VS. At one point I even think I saw a reference confirming this somewhere but I can't seem to find it now.

You can test your transformations in a couple of ways.
  • Use the right click context menu that pops up when you click on one of the transformations and select "Preview Transform" to test your transformation.
  • Publish your web app to a local folder as explained here and take a look at the resulting Web.config.