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 > Generating key for another account?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

Generating key for another account?

Réponse
 
LinkBack Outils de la discussion
Vieux 04/10/2006, 00h50   #1 (permalink)
Dr. Dolphin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Generating key for another account?

Say I'm on my hostA and my login is joeblow and I have a hostB in a
different domain but my login is jblow. Logged in as joeblow on hostA can I
create a key with ssh-keygen as jblow? I want to be able to ssh and SFTP to
hostB without being prompted for a password.

Thanks,

DD


  Réponse avec citation
Vieux 04/10/2006, 01h14   #2 (permalink)
Unruh
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Generating key for another account?

"Dr. Dolphin" <drdolphin@sonic.net> writes:

>Say I'm on my hostA and my login is joeblow and I have a hostB in a
>different domain but my login is jblow. Logged in as joeblow on hostA can I
>create a key with ssh-keygen as jblow? I want to be able to ssh and SFTP to
>hostB without being prompted for a password.


Sure. the ssh key has nothing to do with the username. It simply looks up
where the id_{r,d}sa private key file contains the appropriate key for the
message transmitted with the id_{r,d}sa.pub key. It does not check names.
It does not chech machine names. The whole thing is in those key pairs.
You just have to make sure you tell the remote system that you want to
logon as jblow, rather than joeblow.

ssh jblow@hostB.com
from hostA will do that.


>Thanks,


>DD



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


É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,07665 seconds with 10 queries