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 > Removing already generated keys
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

Removing already generated keys

Réponse
 
LinkBack Outils de la discussion
Vieux 01/12/2006, 06h13   #1
thecoolone
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Removing already generated keys

Here is the scenario. I have 2 servers serv1 and serv2. Previously i
had a crontab in serv4 that backed data from serv1 with login as
"thecoolone" on both servers. And this crontab was functioning properly
before.
Now i tried to make a new crontab in serv4 under a new login "user1"
and the same login "thecoolone" on serv1. After i made this crontab and
tried to execute both the old one and the one i just created, neither
of them work. And so i want to remove the entry (i.e public key copy
and authorized_keys entry) that i made on serv1 under "thecoolone"
login so that atleast the crontab that was working before starts
working again.

Anyone know how to do that ??

Any is always appreciated.

  Réponse avec citation
Vieux 01/12/2006, 19h11   #2
Richard E. Silverman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Removing already generated keys

>>>>> "J9" == thecoolone <jahan9@gmail.com> writes:

J9> Here is the scenario. I have 2 servers serv1 and serv2. Previously
J9> i had a crontab in serv4 that backed data from serv1 with login as
J9> "thecoolone" on both servers. And this crontab was functioning
J9> properly before. Now i tried to make a new crontab in serv4 under
J9> a new login "user1" and the same login "thecoolone" on
J9> serv1. After i made this crontab and tried to execute both the old
J9> one and the one i just created, neither of them work. And so i
J9> want to remove the entry (i.e public key copy and authorized_keys
J9> entry) that i made on serv1 under "thecoolone" login so that
J9> atleast the crontab that was working before starts working again.

J9> Anyone know how to do that ??

Note that it is not necessary to copy the public key file to the remote
side; just to include the key in the remote authorized_keys file.

If all you did to the "thecoolone" account was edit the authorized_keys
file, perhaps you messed up the format in doing so? Be careful that each
entry is only one line and does not get broken up by an editor.

--
Richard Silverman
res@qoxp.net

  Réponse avec citation
Vieux 01/12/2006, 21h44   #3
thecoolone
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Removing already generated keys


Richard E. Silverman wrote:
> >>>>> "J9" == thecoolone <jahan9@gmail.com> writes:

>
> J9> Here is the scenario. I have 2 servers serv1 and serv2. Previously
> J9> i had a crontab in serv4 that backed data from serv1 with login as
> J9> "thecoolone" on both servers. And this crontab was functioning
> J9> properly before. Now i tried to make a new crontab in serv4 under
> J9> a new login "user1" and the same login "thecoolone" on
> J9> serv1. After i made this crontab and tried to execute both the old
> J9> one and the one i just created, neither of them work. And so i
> J9> want to remove the entry (i.e public key copy and authorized_keys
> J9> entry) that i made on serv1 under "thecoolone" login so that
> J9> atleast the crontab that was working before starts working again.
>
> J9> Anyone know how to do that ??
>
> Note that it is not necessary to copy the public key file to the remote
> side; just to include the key in the remote authorized_keys file.
>
> If all you did to the "thecoolone" account was edit the authorized_keys
> file, perhaps you messed up the format in doing so? Be careful that each
> entry is only one line and does not get broken up by an editor.


thank you. i removed the authorized_keys and just created a new one and
copied the public key content in that and it worked.

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


É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,10043 seconds with 11 queries