Re: which is better libssh or libssh2



"shyam" <shyam.geek@xxxxxxxxx> writes:

Hi ALL

I am about to start writing a module for bulk transfer of files using
sftp.

I cant use scripts due to some performance issues amongst others
Going through the web I found libssh and linssh2 API available.

But as per my knowledge these are not available with REDHAT enterprise
linux , which is the OS I am going to develop the module.

Not sure. They are available to mandriva and have been since 2005 (10.2)
You do not tell us which version of Enterprise.
Anyway ssh2 is the more recent one and fixes severe secrurity holes in
ssh from what I know. But why would you write your own implimentation of
ssh. It is hard to imagine where any performance issues would make writing
your own better than useing someone elses stuff. The internet is not that
fast-- ie, transmission timing will swamp any script issues. And sftp is
probably one of the slowest ways. Why not use scp or rsync instead.
Espacially rsync if you are transfering the same files over and over.



Can anybody suggest which one is better option

thanks
SHyam

.



Relevant Pages

  • Re: WinSCP
    ... Howto Setup a chroot jail for ssh / scp / sftp with Linux ... Sound like the sftp subsystem settings in your script are not the same ...
    (comp.os.linux.networking)
  • Re: which is better libssh or libssh2
    ... Going through the web I found libssh and linssh2 API available. ... linux, which is the OS I am going to develop the module. ... And sftp is ... Espacially rsync if you are transfering the same files over and over. ...
    (comp.security.ssh)
  • Re: Which version of SSH?
    ... I'm setting up a connection from an OpenVMS machine to a Linux one. ... The application owner wants to run sftp, so I said OK, no problem. ... I couldn't get it working until the firewall administrator allowed SSH ...
    (comp.os.vms)
  • Re: Batch job to perform sftp transfer
    ... It relies on copying datasets to temporary HFS files ... I used /bin/cat with ssh so that I could transfer the data and pipe it to ... The IBM version of sftp doesn't support datasets, ... Batch job to perform sftp transfer ...
    (bit.listserv.ibm-main)
  • Re: SPAM sudden increase
    ... up ssh for some sftp session and saw something odd... ... Dude was on a tech call with f-secure and the tech asked, "So, are you ... To which the dude replied, "Yeah, I'm ...
    (alt.2600)