Skip to content
Snippets Groups Projects
Select Git revision
  • 16f1809cfa1a0594ca96d6e97a5c1977021659a8
  • master default protected
  • simple-task/7248-eol-check-add-node-22
  • 6877_check_iml_deployment
4 results

check_mysqlserver

Blame
  • gitsshwrapper.sh 356 B
    #!/bin/bash
    # wrapper to make git remote command with ssh private key file
    # http://alvinabad.wordpress.com/2013/03/23/how-to-specify-an-ssh-key-file-with-the-git-command/
    #
    # SYNTAX:
    # gitwrapperssh.sh [keyfile] [command]
    #
    
    if [ -z "$PKEY" ]; then
        # if PKEY is not specified, run ssh using default keyfile
        ssh "$@"
    else
        ssh -i ${PKEY} "$@"
    fi