On Thu, 9 Nov 2023 at 12:31, Jonathan McDowell noodles@earth.li wrote:
Use an SSH agent on your local machine, login to A forwarding the agent (ssh -A HostA) then use scp on A to pull the file from B? Your key never leaves your desktop, but can be used on A while you're connected.
That sounds like what I need but I'm afraid I don't know enough to work through the steps.
I'm either connecting from the (open)ssh commandline on my Linux box or via PuTTY on a Windows box - I have at least used an SSH agent on the latter (pageant) but I don't know how it fits in here, and I don't recall ever using an agent on my Linux (Ubuntu) box.
Will this method of transferring files send them from A -> B, or is it A -> My PC -> B (from a network PoV)? A and B have very good connectivity between them, my PC is over a poor(ish) VDSL link.