Suppose I have access to
pc via a
server. I can directly log-on to
pc by using How do I connect to a pc through another pc using ssh
Such that my
.ssh/config looks like:
Host short Hostname pc User me ProxyCommand ssh me@server nc %h %p
The user and home-folder on
server are the same, but only
server can be directly reached from the outside world. Now, if I
ssh short, I have to type the same password twice.
I am now looking for a way to login using the tunnel without typing my password even once.
I've tried the
ssh-keygen procedure, but that does not help me here. I also found this quite related question: Set up password-less SSH tunneling from home computer behind NAT to inside computer behind gateway, but I can't figure out how this would apply to my situation.
The question basically comes down to: how can I setup passwordless login over a ssh alias?