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 > SSH encryption only for authentication, not data?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

SSH encryption only for authentication, not data?

Réponse
 
LinkBack Outils de la discussion
Vieux 18/10/2006, 00h47   #1
Translucent
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut SSH encryption only for authentication, not data?

Hi all,

I've hooked up a backup-host to a server with a nic-to-nic link, over
which I intend to use rsync to mirror directories. The link is
considered `safe'. I need to run rsync as root to preserve permissions
on the mirrored files/directories, but I'm not happy allowing for the r*
commands (rsh, rlogin...) on the backup-host.

Now the question is: Is there any way I can use SSH to encrypt only the
authentication process but not the data-stream? The amount of mirrored
data can be substantial, and I see a big difference in CPU activity on
both hosts and elapsed time when I use rsync with ssh as compared to
rsh. (I did try to nfs-mount the server on the backup-host and run the
rsync there, but this proved to be much slower than running rsync
host-to-host......in case you wondered..... ;^)

TIA,

Translucent
  Réponse avec citation
Vieux 18/10/2006, 14h40   #2
Chuck
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SSH encryption only for authentication, not data?

Translucent wrote:
> Hi all,
>
> I've hooked up a backup-host to a server with a nic-to-nic link, over
> which I intend to use rsync to mirror directories. The link is
> considered `safe'. I need to run rsync as root to preserve permissions
> on the mirrored files/directories, but I'm not happy allowing for the r*
> commands (rsh, rlogin...) on the backup-host.
>
> Now the question is: Is there any way I can use SSH to encrypt only the
> authentication process but not the data-stream? The amount of mirrored
> data can be substantial, and I see a big difference in CPU activity on
> both hosts and elapsed time when I use rsync with ssh as compared to
> rsh. (I did try to nfs-mount the server on the backup-host and run the
> rsync there, but this proved to be much slower than running rsync
> host-to-host......in case you wondered..... ;^)
>
> TIA,
>
> Translucent


I would try changing the ssh cipher. Blowfish and arcfour use less cpu
than the preferred defaults of aes and 3des. Some ssh's support "none"
as a cipher too.

rsync -e "ssh -c none" ...
  Réponse avec citation
Vieux 18/10/2006, 14h58   #3
Chuck
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SSH encryption only for authentication, not data?

Chuck wrote:
> Translucent wrote:
>> Hi all,
>>
>> I've hooked up a backup-host to a server with a nic-to-nic link, over
>> which I intend to use rsync to mirror directories. The link is
>> considered `safe'. I need to run rsync as root to preserve permissions
>> on the mirrored files/directories, but I'm not happy allowing for the r*
>> commands (rsh, rlogin...) on the backup-host.
>>
>> Now the question is: Is there any way I can use SSH to encrypt only the
>> authentication process but not the data-stream? The amount of mirrored
>> data can be substantial, and I see a big difference in CPU activity on
>> both hosts and elapsed time when I use rsync with ssh as compared to
>> rsh. (I did try to nfs-mount the server on the backup-host and run the
>> rsync there, but this proved to be much slower than running rsync
>> host-to-host......in case you wondered..... ;^)
>>
>> TIA,
>>
>> Translucent

>
> I would try changing the ssh cipher. Blowfish and arcfour use less cpu
> than the preferred defaults of aes and 3des. Some ssh's support "none"
> as a cipher too.
>
> rsync -e "ssh -c none" ...


In addition, you don't *have* to use ssh for the transport at all. You
could use any shell you want.
  Réponse avec citation
Vieux 18/10/2006, 21h08   #4
Nico
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SSH encryption only for authentication, not data?


Translucent wrote:

> Hi all,
>
> I've hooked up a backup-host to a server with a nic-to-nic link, over
> which I intend to use rsync to mirror directories. The link is
> considered `safe'. I need to run rsync as root to preserve permissions
> on the mirrored files/directories, but I'm not happy allowing for the r*
> commands (rsh, rlogin...) on the backup-host.
>
> Now the question is: Is there any way I can use SSH to encrypt only the
> authentication process but not the data-stream? The amount of mirrored
> data can be substantial, and I see a big difference in CPU activity on
> both hosts and elapsed time when I use rsync with ssh as compared to
> rsh. (I did try to nfs-mount the server on the backup-host and run the
> rsync there, but this proved to be much slower than running rsync
> host-to-host......in case you wondered..... ;^)


If there is nothing else on the network connection, just use s bare
rsync daemon and carefully handle the hosts allowed to access each
other.

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


Édité par : vBulletin® version 3.7.3
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 ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11791 seconds with 12 queries