# How to connect to a NAS with ssh tunnel?

**URL:** <https://with.raidrive.com/t/how-to-connect-to-a-nas-with-ssh-tunnel/3249>\
**Category:** Technical Issues\
**Tags:** proxy, drive\
**Created:** [November 15, 2020, 5:54pm UTC](https://with.raidrive.com/t/how-to-connect-to-a-nas-with-ssh-tunnel/3249 "2020-11-15T17:54:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jingnan\_Jia](https://with.raidrive.com/letter_avatar_proxy/v4/letter/j/7ba0ec/32.png) [@Jingnan\_Jia](https://with.raidrive.com/u/Jingnan_Jia)\
**Post date:** [November 15, 2020, 5:54pm UTC](https://with.raidrive.com/t/how-to-connect-to-a-nas-with-ssh-tunnel/3249/1 "2020-11-15T17:54:21Z")

</div>

In my laboratory, we have a HPC cluster and I want to connect local PC to the HPC cluster via raidrive. But I found that there is a ssh tunnel between my local PC and the remote HPC cluster. If I use WinSCP I can successfully connect to HPC because WinSCP has a “ssh tunnel” option. But I donot know how to achieve it by raidrive? Can anyone help me?

---

<div class="post-metadata">

**Author:** ![kairi](https://with.raidrive.com/letter_avatar_proxy/v4/letter/k/df705f/32.png) [@kairi](https://with.raidrive.com/u/kairi)\
**Post date:** [November 3, 2021, 12:16am UTC](https://with.raidrive.com/t/how-to-connect-to-a-nas-with-ssh-tunnel/3249/2 "2021-11-03T00:16:00Z")

</div>

You can connect to it by port-forwarding via SSH tunnel in another process (e.g. command prompt).  
For example, when `ssh -L portB:remoteB:portC -p portA -i id_path userA@remoteA` is running, from local (RaiDrive)  
`localhost:portC` will be tunneled through remoteA to `remoteB:portB`.

However, I too would really like to see this feature built into RaiDrive.
