#!/bin/sh

while true
do
    SSHOUTPUT=$(ssh-add -l | wc -l)
    #if echo $SSHOUTPUT | grep -q "santilococo" ; then
    if [ $SSHOUTPUT -eq 3 ]; then
	pkill "mono"
	exit
    fi

    sleep 1
done