------------------------------------------------------------------------------- WinScp ------------------------------------------------------------------------------- Double SSH jumping (not proxy) This connects to a server "bastion" =======8<-------- Start WinSCP In the "Login WinSCP" Session Window Session -> File Protocol: SFTP hostname: bastion User name: s-number Leave Password Blank Press "Advance..." to popup a "Advanced Site Settings" Window SFTP -> SFTP Server: Replace "Default" with "ssh appl@na-prd-myapp /usr/libexec/openssh/sftp-server" Disable "Allow SCP Fallback" Shell -> Shell: Replace "Default" with "ssh appl@na-prd-myapp" Environment -> PuTTY terminal settings: "RemoteCommand=ssh appl@na-prd-myapp" Press "OK" to close "Advanced Site Settings" Window Back on "Login WinSCP" window Save Menu -> Save As Type "MyApp" to save this setup replacing the bastion login name it defaults to =======8<-------- The SFTP setting defines how to run the "sftp-server" on the remote machine so that the