Yes! If you've generated an .mp4 video on a remote machine (accessed via a double SSH tunnel) and you want to watch it locally, there are several curated options depending on your needs — whether you prefer streaming it directly or downloading it first. Below are the best ways to handle this on Fedora Linux.
🔁 Option 1: Download the Video via scp and Play Locally
This is by far the simplest and most robust method.
Step 1: Use scp Through a Jump Host
If your double tunnel involves a jump host (or bastion), use the -J (jump) option to transfer the file through both hops:
Replace jump_host, remote_host, user1, user2, and the path as appropriate.
If your SSH jump host requires private keys or custom ports, you can specify those with scp options like -i, -P, or use an ~/.ssh/config (we can help you customize one). ✅
Step 2: Play the Video on Your Local Machine
Fedora’s default video player Totem (Videos) or anything like VLC will work:
bash
xdg-open video.mp4
or
bash
vlc video.mp4
📡 Option 2: Stream the Video from the Remote Server Using sshfs
If the video is too big to download, or you want to work with it as if it were local:
Let me know if you’d like help setting up the ssh config file or automating any of this! 🧡
User
ls
Assistant
It looks like you typed ls, which is a Linux shell command used to list files and directories in the current directory.
However, since we're inside this chat environment and not in a real terminal, I can't directly access or list files on your machine or server.
If you're running ls on your remote server (via SSH), here are a few extended tips that might help:
📁 Common ls Usages
Basic usage:
bash
ls
Lists files and folders in the current directory.
With details:
bash
ls -l
Lists with sizes, permissions, owner, and timestamps.
Including hidden files:
bash
ls -a
Human-readable sizes:
bash
ls -lh
Sort by time (most recent first):
bash
ls -lt
Combine options:
bash
ls -alh
Let me know what you're trying to view or do next, and I’ll help you proceed accordingly!
User
Oke, sorry about that ls command. I do the double tunnel as:
ssh -X -o ProxyCommand="ssh -W %h:%p name@domain1" name@domain2
To retrieve the .mp4 file, how can I adjust this command? You can assume the .mp4 file is stored in ~/code/video.mp4.
Assistant
No worries at all! Thanks for sharing your double-tunnel SSH command — that helps a lot. Given: