OpenRport Docs
GITHUB
  • OpenRPort Knowledge Base
  • 👀WHAT IS RPORT
    • Features and benefits of RPort
      • Full feature list
    • Screenshots
  • 🚀GETTING STARTED
    • Install the RPort Server
      • Install on-premises
      • Install RPort on any virgin cloud VM
      • Enable two factor authentication
        • Use push on mobile for 2FA
        • Use TOTP
    • Connecting Clients
    • Using the remote access
      • Creating tunnels
        • VNC via browser
      • RDP via Browser
      • Open SSH from the browser
      • Scp,sftp through a tunnel
    • Renaming and tagging of clients
    • Organize clients with groups
    • Activate the vault
    • Manage users and permissions
  • 🗣️NEED HELP?
    • Troubleshoot common problems
      • Restart rport through a tunnel
      • Attributes file path not set
      • Recover lost passwords
      • Client is not connecting
      • Id is already in use
  • 🔦DIGGING DEEPER
    • Using the API
      • Create client credentials
    • RPort Technology Explained
    • Commands and Scripts
      • Executing commands
      • Executing scripts
      • Tacoscript
    • The scheduler
    • File copy and reception
    • Client Configuration Options
      • Supervision of OS updates
      • Script and command execution
    • Advanced client management
      • Install the RPort client manually
      • Uninstall the RPort client
      • Run with SELinux
    • Server Maintenance
      • Monitoring of RPortd
      • Updating RPort
      • Backing up the rport server
      • Renewing certificates
    • FAQ
      • How to use Cloudflare
Powered by GitBook
On this page
  • Prerequisites
  • Using scp or rsync
  • Using Filezilla
  1. GETTING STARTED
  2. Using the remote access

Scp,sftp through a tunnel

Learn how to copy files through a tunnel using scp or sftp

PreviousOpen SSH from the browserNextRenaming and tagging of clients

Last updated 1 year ago

Prerequisites

Copying files to a remote system over scp or sftp requires an SSH server running on the remote side. On almost all Linux systems SSH is installed and active.

Create a tunnel for SSH access to the remote server. The tunnel will end on a random port on your rport server. Remember the port number.

Get the port number of the tunnel

Using scp or rsync

To copy a file to the remote system over the tunnel via scp use

scp -P <PORT> <LOCAL-FILE> <USER>@<RPORT-SERVER>:<DESTINATION>

For example:

scp -P 22708 /etc/hosts hero@rport.example.com:/tmp/

Doing the same over rsync

rsync -e "ssh -p 22708" /etc/hosts hero@rport.example.com:/tmp/

Using Filezilla

  • Open the site manager of Filezilla.

  • Create a new site using the "SFTP- SSH File Transfer Protocol.

  • Enter the name of the rport server as "Host".

  • Enter the port of the tunnel as port for the Filezilla connection

Use Filezilla for file transfers over a tunnel
🚀