19
4
Question:
Can I get a local VLC instance to stream media from a remote computer, via SSH?
This is with VLC running on the local computer that I'm watching the video on, not remotely via X11-over-SSH.
Are there any extra access modules for VLC which could enable SSH sources?
The local computer unfortunately runs Windows 7, and I want to avoid dual-booting if possible.
Probably unnecessary - my setup:
I have a computer in the UK which auto-connects to a VPS via SSH and sets up reverse port-forwarding.
For those interested in doing this, the UK computer uses:
ssh -nNTP *:9000:localhost:22 user@vps
where
9000
andtunnel@vps
should be changed accordingly for your setup.I SSH/PuTTY to the mapped port on my VPS from wherever in the world I am, in order to access the UK computer. I connect from my local computer to the UK one over the SSH tunnel by then locally executing:
ssh user@vps -p 9000
This works great for getting a shell on the UK computer. I want to stream media from it though onto my local PC which unfortunately, runs Windows 7. This rules out SSHFS, and also win-sshfs which is quite buggy on Windows 7.
Currently, I use win-ssh to start copying the file over, then I get VLC to play the (incomplete) file. As long as the copy rate is above the media bitrate and win-ssh doesn't fail (which it does for most files), this works great. I'm looking for a more robust solution.
Ah nice, I didn't think to just run a Windows-usable file access protocol through the SSH tunnel... and then I saw that SFTP runs via SSH anyway... This is a very simple and easy solution! Thanks! – Mark K Cowan – 2014-07-10T22:06:39.273
4I couldn't get that to work using
sftp://user:password@server/path
orsftp://server/path
(VLC didn't prompt for auth options in the latter case). VLC failed to connect. For now, I use SCP to copy to the Windows machine, and play the incomplete file in VLC (as long as DL rate > video bitrate, it's fine) – Mark K Cowan – 2014-08-14T14:17:47.383VLC will use pageant for authentication, so this can be a very low friction solution. – Deebster – 2018-05-10T15:52:24.480