As
Fletch has said, you need to use sudo instead of ksu to get it to prompt you in the same window. I'd just like to add that for that kind of conversation with remote servers, it would be appropriate if you used
Expect - it has ways for you to match patters sent by the other server (like prompts) and send appropriate responses.