Find the answer to your Linux question:
Results 1 to 2 of 2
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. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    7

    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 help is always appreciated.

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    Appending a new entry to ~/.ssh/authorized_keys does not break any entries that were already there!

    Is it possible you accidentally overwrote what was there? If so, easy fix: Just append the public key contents to ~/.ssh/authorized_keys again.

    Make sense?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •