@snehal.srivastava1994: The command is in p-st's post above:
TunnelPassphrasePlain, so that the session will open up without the passphrase prompt. Thank you very much!
TunnelPassphrasePlainraw session settings.
"C:\WinSCP\WinSCP.exe" scp:email@example.com:22/home/ec2-user/ /privatekey=D:\my_private_key.ppk /passphrase=*** /rawsettings Tunnel=1 TunnelLocalPortNumber=0 TunnelHostName=my_jumphost TunnelPortNumber=22 TunnelUserName=tunnel_username TunnelPasswordPlain=*** TunnelPublicKeyFile=my_tunnel_private_key.ppk
/passphraseis ignored by the Tunnel feature.
"C:\WinSCP\WinSCP.exe" scp:firstname.lastname@example.org:22/home/ec2-user/ /privatekey=D:\my_private_key.ppk /passphrase=*** /rawsettings ProxyMethod=5 ProxyTelnetCommand="""C:\\PuTTY\\plink.exe"" -P 22 -l tunnel_username my_jumphost -nc 10.16.35.7:22 -i ""my_tunnel_private_key.ppk"" -pw "***""
-passphrasewould be used even for tunnel.
PublicKeyFile: Some of registry settings names, including this one, are inherited from PuTTY. I do not know why they chose this name.
TunnelPassphrase, like it is already available in the command-line options for the session (
/passphrase). Would this be possible?
TunnelPublicKeyFile, which stands for the private key. It is no big deal but why isn't it called "TunnelPrivateKeyFile"?