figlet $TARGET_HOST
echo "successfully installed"
-ssh -i ~/.ssh/id_ritest $TARGET_HOST uname -a
+#
+# prepare ssh
+#
+TMPFILE=$(mktemp)
+ssh-agent > $TMPFILE
+source $TMPFILE
+ssh-add ~/.ssh/id_ritest
+rm $TMPFILE
+
+ssh -t $TARGET_HOST uname -a
echo
-ssh -i ~/.ssh/id_ritest $TARGET_HOST "dpkg -l | egrep '(profit|bird|vcb|ofed|qemu|kvm)' | sort -k 50"
+ssh -t $TARGET_HOST "dpkg -l | egrep '(profit|bird|vcb|ofed|qemu|kvm)' | sort -k 50"
echo
-ssh -i ~/.ssh/id_ritest $TARGET_HOST dpkg -l | grep develop || true
+ssh -t $TARGET_HOST dpkg -l | grep develop || true
echo
-ssh -i ~/.ssh/id_ritest $TARGET_HOST "cat /etc/apt/sources.list.d/* /etc/apt/sources.list|grep -v ^#|sort -u"
+ssh -t $TARGET_HOST "cat /etc/apt/sources.list.d/* /etc/apt/sources.list|grep -v ^#|sort -u"