# SSH Connection using Key over VPN Tunnel

**URL:** <https://community.teltonika.lt/t/ssh-connection-using-key-over-vpn-tunnel/6920>\
**Category:** Networking Solutions\
**Created:** [July 22, 2024, 2:32pm UTC](https://community.teltonika.lt/t/ssh-connection-using-key-over-vpn-tunnel/6920 "2024-07-22T14:32:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![moa](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/m/49beb7/32.png) [@moa](https://community.teltonika.lt/u/moa)\
**Post date:** [July 22, 2024, 2:32pm UTC](https://community.teltonika.lt/t/ssh-connection-using-key-over-vpn-tunnel/6920/1 "2024-07-22T14:32:30Z")

</div>

Hi there,

I connected a linux system to a RUTX50 router to allow a remote access over the air. The authentification method for this system is a SSH key pair I already generated. I would like to open a VPN Tunnel to directly connect my computer (already having the right key) with the remote linux system.

Does anyone know how to set this up in the RMS Portal / Router? How should I procced?

Many Thanks in advance for your help  
Best Regards

---

<div class="post-metadata">

**Author:** ![Marijus](https://community.teltonika.lt/user_avatar/community.teltonika.lt/marijus/32/694_2.png) [@Marijus](https://community.teltonika.lt/u/Marijus)\
**Post date:** [July 23, 2024, 9:25am UTC](https://community.teltonika.lt/t/ssh-connection-using-key-over-vpn-tunnel/6920/3 "2024-07-23T09:25:23Z")

</div>

Hello,

You will still need to set up the server on your router and the client on your end device (e.g., a Linux machine). Here is an example configuration for OpenVPN: [OpenVPN Configuration Examples](https://wiki.teltonika-networks.com/view/OpenVPN_configuration_examples). You can also use other VPN options available for our routers.

If you don’t have a static public IP address, you might consider using VPNs like ZeroTier or Tailscale.

Here are all the VPN options available:

![image](https://community.teltonika.lt/uploads/default/original/2X/f/f85f060bf76c52879fe6946d14c91506505a2ef1.png)

Best regards,

---

<div class="post-metadata">

**Author:** ![system](https://community.teltonika.lt/user_avatar/community.teltonika.lt/system/32/15707_2.png) [@system](https://community.teltonika.lt/u/system)\
**Post date:** [August 6, 2024, 2:33pm UTC](https://community.teltonika.lt/t/ssh-connection-using-key-over-vpn-tunnel/6920/4 "2024-08-06T14:33:13Z")

</div>

Closed on August 6, 2024, 2:33pm UTC

This topic was automatically closed after 15 days. New replies are no longer allowed.
