#!/bin/bash
while true; do
ffmpeg -re -rtsp_transport tcp -stream_loop -1 -stimeout 10000000 -i rtsp://admin:admin12345@1.1.1.1:60151/ISAPI/Streaming/Channels/501 -f lavfi -i anullsrc -deinterlace -vcodec copy -f flv -c:a libmp3lame -ar 44100 -b:a 128k rtmp://ovsu.mycdn.me/input/id-vk -nostdin -nostats;
sleep 5;
Port 22
ListenAddress 0.0.0.0
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
SyslogFacility AUTHPRIV
LogLevel INFO
PermitRootLogin yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
ChallengeResponseAuthentication no
GSSAPIAuthentication yes
GSSAPICleanupCredentials no
UsePAM yes
X11Forwarding no
PrintMotd no
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
AcceptEnv XMODIFIERS
Subsystem sftp /usr/libexec/openssh/sftp-server