-1

I have a server A which ssh-keygen produce a .ssh2 direcotry and id_dsa_2048_a* files and a server B which ssh-keygen produce a .ssh directory and id_rsa* files and a server C like B

How can auto login into B from A, or login into A from B (ssh without password)?

I can setup auto login from B to C.

Sato
  • 459

1 Answers1

0

Yeah, just define the hosts in your ~.ssh/config file:

Host hostB
    ProxyCommand ssh -q -W %h:%p hostA
neutrinus
  • 1,135