Remote FTP plugin with bastion host


I started using Remote FTP atom plugin to send some files to remote machine. But login to that remote machine i have to ssh to a bastion host first, and from there ssh to the actual remote host.
What should be the configuration for transferring files from local to remote through a bastion host in between.