$ssh = new \phpseclib3\Net\SSH2([хост]);
$ssh->login([логин]),[пароль]);
$commandOutput = $ssh->exec('sudo /root/yandex-cloud/bin/yc logging write \
--group-name=default \
--message="test" \
--level=info \
');