Scenario:
I have access to a linux server A whose credentials are managed via a PAM server. I want to copy a file to this server from a remote server B whose credentials i have.
Challenge:
SCP from server B to copy files to server A wont work as i don't have the credentials to server A.
Problem:
Server A and B are part of a restricted network meaning the only way to get these files to server A is only from server B.
Question:
Is there a way to fetch the files from server A prompting for credentials for server B.
SCPsuggests ssh ... so, you would need to login on one and scp to/from the other ... so you would need credentials of some sort on both - that's how security works