Not sure if what the KDE equivalent would be but I use this in gnome. gnome-terminal -e 'ssh -p 200 -C -Y -t '$jump_box' "ssh -Y -l oracle blade0-0"' The local shell this uses will get closed when you exit the remote.