sftp stream using keyfile
Posted: 24 Jan 2016 23:36
I'm looking for a way to open a stream via sftp using a keyfile (as opposed to the usual user:password prompt vlc opens by default), but can't seem to find any documentation about this whatsoever.
I'm tring to do something like
I know I could do
, but that wouldn't enable me to control the stream (beyond play/pause). (Also, it's kind of an ugly solution)
Simply downloading the file also isn't an option, since it isn't a given that recording to file has finished when I start playback.
Any ideas? :/
I'm tring to do something like
Code: Select all
vlc -i .ssh/key "sftp://user@remote.host/path/to/file/"
Code: Select all
ssh -i .ssh/key user@remote.host "cat /path/to/file" | vlc -
Simply downloading the file also isn't an option, since it isn't a given that recording to file has finished when I start playback.
Any ideas? :/