curl-users
Re: ssh custom port
Date: Mon, 18 Jul 2016 16:02:41 -0400
if the issue really boils down to an "invalid" dir or improperly used in
the curl to indicate the correct dir on the server side.. be sure to
recheck using the initial version of curl .. it would prob work.
On Mon, Jul 18, 2016 at 2:41 PM, Jim Young <j4young_at_gmail.com> wrote:
> On 7/18/2016 11:59 AM, el kalin wrote:
>
>
>
> thanks ray...
>
> the version is 7.16.3.
>
> if it works with sftp though - which means ssh itself is not really the
> issue - why wouldn't it work with curl?
>
>
> 1) That version of curl is pretty old (ancient in "internet years") I
> think that's what comes with Red Hat by default which they haven't updated
> in a long, long time. I'd get a newer version for your system and try
> that. You can download pre-compiled versions for most systems and test
> with them even if you don't have admin rights on your particular system.
> 2) As to why it works with ssh but not curl - they could be using
> different libraries. One could be using a dynamically loaded system
> library and the other a statically linked library. You also may need to
> update the system ssl library if it's old.
>
> So - get a new version of curl and try it. If it still doesn't work, do a
> "curl -V" and cut & paste the result on your next post. You might also
> want to post what OS you're running on, version levels of the OS etc.
> There can be configuration issues with some OS'es that limit which programs
> are allowed to use non-standard ports.
>
> Jim Young
>
> -------------------------------------------------------------------
> List admin: https://cool.haxx.se/list/listinfo/curl-users
> FAQ: https://curl.haxx.se/docs/faq.html
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>
>
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-07-18