#!/bin/sh

dcop $KONSOLE_DCOP_SESSION renameSession "`echo $1 | cut -d '@' -f 2`"
ssh $1
dcop $KONSOLE_DCOP_SESSION renameSession "Terminal"