user1447257
user1447257

Reputation:

ssh proxycommand with kerberos

I can ssh from my machine A to machine B using ssh-keys. On machine B I hence receive a Kerberos ticket to login to machine C; following works then:

ssh -At machineB ssh -At machineC

I want to login to C from A directly, therefore, I added following lines to my ~/.ssh/config?:

Host machineC
    ProxyCommand ssh -q machineB nc -q0 %h %p

But now, I will be asked for a password; Is there some way of a password-less login?

Upvotes: 2

Views: 849

Answers (1)

Jakuje
Jakuje

Reputation: 25966

It is not possible with ProxyCommand, if you need to authenticate from the host B. You still need to use

ssh -At machineB ssh -At machineC

Upvotes: 1

Related Questions