How to set up remote storage with SSH and jump host

I am trying to set up an ssh storage on a server that can only be accessed via a jump host. While with ssh I can use the option -j and with sftp I can use the option -o ‘ProxyJump user@IPadress -p port_number’, I do not know how to do that for dvc remote storage.

Hi :slight_smile:

You could just configure proxyjump in ~/.ssh/config and that should work.

thank you for your reply. I hadn’t worked with the .ssh/config file yet, but I looked it up and that should work.

The only thing that I have trouble with is the passwords. I would need two then and in the dvc config.local you can only have one password as far as I know.