PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > which is better libssh or libssh2
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

which is better libssh or libssh2

Réponse
 
LinkBack Outils de la discussion
Vieux 26/08/2006, 07h31   #1 (permalink)
shyam
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut which is better libssh or libssh2

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.

Can anybody suggest which one is better option

thanks
SHyam

  Réponse avec citation
Vieux 26/08/2006, 16h40   #2 (permalink)
Unruh
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: which is better libssh or libssh2

"shyam" <shyam.geek@gmail.com> 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


  Réponse avec citation
Vieux 28/08/2006, 04h15   #3 (permalink)
shyam
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: which is better libssh or libssh2


Unruh wrote:
> "shyam" <shyam.geek@gmail.com> 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.


It is version 3 of enterprise linux

> 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.


I am not planning to write my own implementation but trying to use the
available APIs

> 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.
>


Its the requirement that I use only sftp and not scp or others

>
>
> >Can anybody suggest which one is better option

>
> >thanks
> >SHyam


  Réponse avec citation
Vieux 28/08/2006, 16h56   #4 (permalink)
Unruh
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: which is better libssh or libssh2

"shyam" <shyam.geek@gmail.com> writes:


>Unruh wrote:
>> "shyam" <shyam.geek@gmail.com> 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.


>It is version 3 of enterprise linux


>> 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.


>I am not planning to write my own implementation but trying to use the
>available APIs


>> 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.
>>


>Its the requirement that I use only sftp and not scp or others


Is this a class assignment? If not whoever set the specifications does not
know what they are talking about. Just write a script and when it runs
slowly tell them that it is because sftp is being used as they required. If
they want something that works, use a better transfer protocol


>>
>>
>> >Can anybody suggest which one is better option

>>
>> >thanks
>> >SHyam


  Réponse avec citation
Vieux 29/08/2006, 04h53   #5 (permalink)
shyam
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: which is better libssh or libssh2

It is not a class assignment

And the choice of sftp is more so because of security rather than
performance and speed which will not be a issue since this is going to
work on a intranet.And script is also out of question because of some
external interfaces.

I just wanted an opinion about libssh & libssh2.Are these libraries
stable enough to be used in a 24x7 operation?

thanks
Shyam

Unruh wrote:
> "shyam" <shyam.geek@gmail.com> writes:
>
>
> >Unruh wrote:
> >> "shyam" <shyam.geek@gmail.com> 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.

>
> >It is version 3 of enterprise linux

>
> >> 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.

>
> >I am not planning to write my own implementation but trying to use the
> >available APIs

>
> >> 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.
> >>

>
> >Its the requirement that I use only sftp and not scp or others

>
> Is this a class assignment? If not whoever set the specifications does not
> know what they are talking about. Just write a script and when it runs
> slowly tell them that it is because sftp is being used as they required. If
> they want something that works, use a better transfer protocol
>
>
> >>
> >>
> >> >Can anybody suggest which one is better option
> >>
> >> >thanks
> >> >SHyam


  Réponse avec citation
Vieux 29/08/2006, 09h56   #6 (permalink)
Simon Tatham
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: which is better libssh or libssh2

Unruh <unruh-spam@physics.ubc.ca> wrote:
> security? And how is sftp more secure than scp or rsync over ssh?


Well, SFTP does have the advantage over SCP that remote wildcard
expansion is done in a way which doesn't require the client to trust
the server's choice of wildcard rules to be what the user was
expecting. Probably not what the OP meant, but it's there.
--
Simon Tatham "Happiness is having a large, warm, loving,
<anakin@pobox.com> caring, close-knit family in another city."
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h21.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13069 seconds with 14 queries