Server B is set up to allow SSH only from Server A (firewall, iptables)
Server A is wide open.
Thus I can SSH into Server A, and once logged in there, SSH into Server B.
I would like to do the same (sort of) with SFTP. Can I create a tunnel (using Plink ... or anything) so that I can SFTP from my PC to Server B?
I.e.
My PC --ssh--> Server A --ssh--> Server B
so when i sftp ServerB from my PC it will work? Using filezilla.
I tried some instructions that seemed to be for similar things but I don't quite understand Plink. For example creating a .bat with
plink -ssh -L 22:ServerA:22 -N -pw password user@ServerA
but this just results in a message "Using username (username)"
Any ideas?
Thanks
a