Connect to SFTP using PHP and private key

I have read article after article and just cannot find "the solution" that works for what I have. I am trying to upload files via SFTP using php scripting. I have connected using CyberDuck...

Failed to connect to www.googleapis.com port 443: Network is unreachable

I'm Using this library to get a feed of videos and livestreams from Youtube from a wordpress site. https://github.com/google/google-api-php-client The code was working ok for the past month but...

Vagrant box add fail

I was trying to add laravel/homestead box in vagrant but i get different errors. By running vagrant box add laravel/homestead I get this error The box 'laravel/homestead' could not be found or...

Why it still complains about libcurl.so.4?

I ln ing the curl from /usr/bin/curl to /usr/local/bin/curl. When I run from command line, the "no version information available" is gone, but when I compile it in home environment, it still...

curl tlsv1.2 option not working

I have 2 Linux systems where the command -> curl -V -> shows the below System-1 curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18...

Cannot run peer because cannot init crypto

I want to run the facbar-samples on windows10,reference the http://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html but get the error: $ ./startFabric.sh orderer.example.com is...

libreadline.so.7: undefined symbol: UP

I'm having trouble building cURL and Git from sources when using GNU's Readline 7. When configuring libraries like cURL the result is: $ ./configure ... ... checking that generated files are newer...

jekyll serve dependency error - Could not open 'lib curl'

I am trying to run bundle exec jekyll serve but it comes up with the error: Dependency Error: Yikes! It looks like you don't have jekyll-remote-theme or one of its dependencies installed. In order...

Are there any `.gilab-ci.yml` for R like the `.travis.ym`l provided by `devtools::use_travis()`?

I'm migrating from GitHub to GitLab because my work is related to my dissertation. I used to deploy my R package with Travis. In order to use GitLab CI instead, I had to write a .gilab-ci.yml (I...

Docker php—install php extensions ssh2

I am using the official php docker image as base for my application container, so the Dockerfile starts like so: FROM php:5.6-fpm-jessie Later in the file I would like to have something like...

Build working libcurl with WinSSL, NTLM, HTTP2, SSH2 and IPv6 support

In our PHP application, we need the PHP curl-extension built in a way, that it supports the following features: WinSSL (Access to the Windows certificate store) NTLM, Basic and Digest...

Python: why do I get an error when I import geopandas?

I try to import geopandas in my jupyter notebook. import geopandas as gp and I get the following error: ImportError:...

WEBP support not installed error with Pillow included in Anaconda

I have written a small code to open webp image in the Anaconda prompt. from PIL import Image im = Image.open('test.webp') It causes the following...

How to get Google Cloudshell Curl request to work with https

I am using Google Cloudshell. I am trying to follow their example at https://codelabs.developers.google.com/codelabs/cloud-speech-intro/index.html#7, which says to use the command curl -s -X POST...

Download and store remote password protected file with PHP

When I type into any browser's address bar : https://username:[email protected]/Protected/Export/MyFile.zip, the file gets downloaded normally. Now I'm trying to do the same with PHP :...

"AssertionError: Torch not compiled with CUDA enabled" in spite upgrading to CUDA version

I figured out this is a popular question, but still I couldn't find a solution for that. I'm trying to run a simple repo Here which uses PyTorch. Although I just upgraded my Pytorch to the latest...

Create conda environment: "Found conflicts!" when solving environment and "Finding shortest conflict path" running forever

I was provided with an environment.ubuntu.yml file to be able to create a conda environment. However, running conda create env --file environment.ubuntu.yml I get the following output: conda env...

PHP CURL - cURL error 35: error:1414D172:SSL routines:tls12_check_peer_sigalg:wrong signature type

I want to make a curl request in PHP 7.3.90 curl -V curl 7.64.0 (x86_64-pc-linux-gnu) libcurl/7.64.0 OpenSSL/1.1.1d zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0...

ImportError: cannot import name 'rcParams' from 'matplotlib'

I have tried to uninstall and reinstall matplotlib in my tf-gpu enviornment I made but I keep getting this error: ImportError: cannot import name 'rcParams' from 'matplotlib' This is the entire...

Exception running Embarcadero project with libssh2

I face the following problem: In Embarcadero project (either exe or dll) there is an exception when I call the libssh2_session_handshake() that establishes and ssh communication between 2 hosts....

Google BigQuery Proxy settings in JAVA SDK

I am trying to use Google BigQuery SDK to do a query. It works fine on my local but in a VM it gets timed out all the time. My best guess is the proxy settings I have tried following way to set it...

curl: (60) SSL certificate problem: when uploading behind proxy

I need to do curl uploading behind company proxy. and I've getting the following two type of problems depending on the site that I try, curl: (35) error:1408F10B:SSL...

Downloading a file using libcurl in C using SFTP: "Unsupported protocol" in c, but command line works

I based my code on https://stackoverflow.com/questions/1636333/download-file-using-libcurl-in-c-c but I'm getting an ERROR: "Unsupported protocol" for SFTP. However, for the same SFTP, file...

Getting error "CUDA backend requires cuDNN" when configuring OpenCV cmake build with cuda backend turned on

My goal: My goal is to configure a build of OpenCV 4.5.1-dev with support for cuda, tesseract and QT without any cmake error.. The problem I am having: I am getting the following error when I...

How to force Homebrew to use a newly installed version of curl?

I have recently installed a new version of Curl on my Mac using Homebrew (brew install curl). Now I want to make Homebrew itself use this new version. I've added the new curl location to my PATH...

Cannot import installed packages in Jupyter Notebook using Miniforge Conda Environment on M1 Mac

I have a M1 Mac (Apple Silicon, ARM) and I followed the instructions given by Apple here to install Miniforge, create a conda environment called tf_env and install Tensorflow on it. I wanted to...

LIBSSH2 with LIBCURL C++ manual compile

I am developing an monolithic C++ app that uses the LIBCURL to make some file transfers via SFTP protocol. However, in my app I need always to manually build the static libs of the libcurl and...

How can I install php8.0-ssh2 from an Alpine Docker image

Here is the Dockerfile (see below) that I use for my projects. Could you explain to me how to install php8.0-ssh2 from this Dockerfile. FROM php:8.0.0-fpm-alpine ARG UID ARG GID RUN apk add...

libstdc++.so.6: version `GLIBCXX_3.4.26' not found on Linux

I was trying to load Seurat package in rstudio and got this error Error: package or namespace load failed for ‘Seurat’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object...

centos6/letsencrypt - certificate error with wget, but not with curl

I'm trying to understand a difference in behaviour between wget & curl on the same system while connecting to a same destination. Environment My test is on centos6 (I know it's deprecated, i still...