Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7947611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:28:59+00:00 2026-06-04T01:28:59+00:00

I am looking for the simplest set of commands you can run for adding

  • 0

I am looking for the simplest set of commands you can run for adding your public key to the authorized_keys files of the root account on a remote server.

We assume that the current user has login access to the remote server and it is also listed in the sudoers file.

Running the command twice should have no effect.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T01:29:01+00:00Added an answer on June 4, 2026 at 1:29 am

    How about running the ssh-copy-id command? Man pages says the following:

    ssh-copy-id – install your public key in a remote machine’s authorized_keys

    Sounds exactly what you’re looking for? I have never tried running the command twice, though. It may not check for that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am learning PHP and I'm looking for the simplest way to run practice
I am looking for simplest blogger template that i can make with simple code.
i'm looking for the simplest way of adding jaxb annotations support to jackson. Jackson
I'm looking for the simplest, most straightforward way to implement the following: The main
I am looking for the simplest php framework that comes integrated with dojo. I
I'm looking for a simplest way to remove duplication in my WPF code. Code
I'm looking for some advice on the simplest way to create some product registration
I am looking for a drop-down JavaScript menu. It should be the simplest and
I'm looking for the simplest or most appropriate way on Mac OS X to
I'm looking for the simplest way to make text in the cells of a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.