Score:0

Is it possible to ssh directly between jump targets

vn flag

Situation

One jumphost: j
Two target servers: s & d

What (if it's possible) would I have to do on j, s & d to be able to on s do:

scp -r foo d:/tmp/foo

both s & d are reachable from j via ssh, but j does not, itself, run an ssh server.

pt flag
You may want to update this question with the fact that `j` does not, itself, run an ssh server. That materially changes the available solutions.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.