Automatically starting ssh-agent on login to bash shell can be done by adding the following script to “.bash_profile” file in a users home directly. This should work on linux and cygwin. This script was adapted from the stack overflow post start-ssh-agent-on-login.
While looking for the solution to a RPM packaging problem I used this command to get to the files in existing packages where I thought I could get pieces of the solution from.
First you must make sure that you have the Active Directory module available. This is made available by installing the Remote Server Administration Tools for Windows 7 with Service Pack 1 (SP1). Then navigate into Programs and Features and enable Active Directory Module for Windows Powershell as seen below: Its then as easy as opening a PowerShell prompt and doing the following: