#!/bin/sh export ip=`echo $SSH_CONNECTION | cut -d ' ' -f 1` wget -q -O - "http://$ip:8080/registry/host/type/$1"