Although it is not what you asked for, a 'better solution' is to use
gnu screen or
tmux
Currently you will lose your session if the connection drops for any reason.
With screen, the session will still be active, and you can reattach once the connection is re-established.
Takes a little getting used to, but well worth it
Read up on gnu screen, you will probably find you don't need to forward konsole
Note, I assume you want the tabs that konsole offers
My ~/.screenrc
Code:
termcapinfo xterm* ti@:te@ltscreen on
term screen-256color
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %Y-%m-%d %{W}%c %{g}]'
Gives you a nice 'statusbar' which helps you see your tabs