lavf/libssh: support reading config from ~/.ssh/config

Multimedia / FFmpeg - Florian Jacob [florianjacob.de] - 10 March 2015 19:34 UTC

libssh provides a function for parsing ~/.ssh/config for ssh connection parameters like user, hostname, identity file and port. This patch makes ffmpeg use this function to take parameters from the config file for everything that's not explicitely set in the url. It also supports host aliases, i.e. using a shorthand in the url and replacing it with the hostname / IP address specified for the shorthand in the config file.

c5c4ca6 lavf/libssh: support reading config from ~/.ssh/config
libavformat/libssh.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

  • Share