I have a ssh server which I can only connect to via kerberos. I would like to use some tools with it, which only support "plain" SSH + passwords (for example the Netbeans C++ remote development feature).

Is it possible to set up an ssh server such, that when you connect to it, it itself opens a connection to the kerberized server, and then forwards everything completely transparently?

I was thinking of creating a user for sshd, whose login script sshes into the other server and pipes everything through, but maybe a nicer solution already exists.

(This is on ubuntu, the remote server is running some kind of linux.)

link|improve this question
Connect to the real sshd with ssh -v and tell us wich types of auth the server supports (Look for "Authentications that can continue:"). – Alex Holst Feb 14 '10 at 9:26
It says "external-keyx,gssapi-with-mic,gssapi,keyboard-interactive", however keyboard-interactive not your usual password prompt, but a custom prompt which I cannot use. – jdm Feb 14 '10 at 9:53
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown