Tuesday, December 16, 2014

Start SSH Agent on Bash Shell Login (Works in Cygwin)

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.



function start_agent {

    echo "Initialising new SSH agent..."
    /usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}"
    echo succeeded
    chmod 600 "${SSH_ENV}"
    . "${SSH_ENV}" > /dev/null
    echo "Manage keys as follows..."
    echo "ssh-add <identity file>    Add identity file."
    echo "ssh-add -L                 List the keys currently."   
    echo "ssh-add -D                 Delete the keys."

# Source SSH settings, if applicable

if [ -f "${SSH_ENV}" ]; then

    . "${SSH_ENV}" > /dev/null
    #ps ${SSH_AGENT_PID} doesn't work under cywgin
    ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || {

--- END SCRIPT ---

Wednesday, December 3, 2014

DevOps in 2015

Chris Jackson, CTO of DevOps Services at Rackspace, recently published the article "Will 2015 be the DevOps tipping point?" on venturebeat.com. A few comments about it follow:

  • Having been in DevOps now for years its hard to see 2015 as a pivotal year in my own career, however I can understand why it may be for DevOps in the industry. I was lucky enough to work for a CTO at Zynx Health in 2012, Mark Long, that believed in the benefits of DevOps back in 2012 when I transitioned into the role of DevOps engineer at Zynx Health. Mark Long is still in the minority according to the article, which states only 7% of CTO drive DevOps.
  • My experience makes it understandable that the article indicates that it is "the operations team that is tasked with implementing and managing the [DevOps] program". My experience reflects this reality in my current role of Lead Systems Engineer at Zynx Health. My team is primarily operation's personnel with DevOps practices and technology as part of our core competencies.

Friday, March 7, 2014

I Participated in a Systems Thinking Panel Discussion

I mentioned at the end of this online panel that I would blog more. No better time to start than now...