konsole can recognize when ssh is executed and print the hostname of the remote machine. It would be nice to add support for mosh (http://mosh.mit.edu/), another remote shell (which can also use ssh, but offers other advantages).
I have came up with a rough implementation, which can be fetched from https://github.com/adaptee/konsole/tree/mosh-command-parser. I would like to get some testing done by real users (I tested it, but I just don't use mosh in my daily life ) before polishing and merge it into master.
FYI, this feature won't get into KDE SC 4.10. I think KDE SC 4.11 should be OK.
Sorry for the long lacks of comments. I tested it for a while rebulinding that branch on when I was using 4.9.x, without issues. Now I migrated that system to 4.10.1, would it be possible to rebase that branch against 4.10 so that I could try it? (I didn't try myself, I could :) If the code affected by the patch did not change too much between 4.9 and 4.10, I would say that the feature is stable.
Will this get in 4.14?
The code is still in the link in comment:1 if someone wants to give it shot at porting to KDE5. It shouldn't be that hard IMHO to put together a patch. Note that it will not be as simple as applying the diff from the above branch.
Possible duplicate: 399539
*** Bug 399539 has been marked as a duplicate of this bug. ***