Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am AlexCline on github.
* I am alexcline ( on keybase.
* I have a public key whose fingerprint is C9E2 F032 BD60 C631 A055 37DE C8D1 D070 F07D 0D53
To claim this, I am signing this object:
View gist:ccd80d089af1b2fcacfd
Verifying I am +alexcline on my passcard.
AlexCline / .bash_profile
Created Jul 3, 2013
Additional settings to add to .bash_profile. Sets the local TZ and adds auto ssh-agent initialization.
View .bash_profile
TZ='America/New_York'; export TZ
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
AlexCline / opennms-ssh.xml
Created Feb 10, 2012
OpenNMS Configuration for Non-Standard SSH Port
View opennms-ssh.xml
<!-- capsd-configuration.xml -->
<protocol-plugin protocol="SSH-1920" class-name="org.opennms.netmgt.capsd.plugins.SshPlugin" scan="on">
<property key="banner" value="SSH" />
<property key="port" value="1920" />
<property key="timeout" value="3000" />
<property key="retry" value="1" />
<!-- poller-configuration.xml -->
<service name="SSH-1920" interval="300000" user-defined="false" status="on">
You can’t perform that action at this time.