Import SSH Keys on CentOS 7 Server


This article provides a guide for importing SSH keys to CentOS 7 VPS server or Dedicated Server.

Importing SSH Keys

Follow the steps provided to import SSH keys on CentOS 7 server:

  1. Login to the remote CentOS 7 server as root user.
  2. Run the following command via SSH:
    ssh-copy-id username@remote_host

    Where, username represents the User to authorize SSH keys on remote_host, the host on which to import the SSH keys

 

  • ssh keys, ssh, ssh commands, secure shell, security, secure server, authentication
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

View Server PHP Environment with phpinfo.php

The phpinfo() function outputs a huge amount of information about the system you're using, such...

How to Change Root Password Using SSH

This article explains the method of changing the root password on a Linux Server using SSH....

How to Create Sudo User on CentOS

This article provides step-by-step setup guide for adding Sudo user to CentOS system. The sudo...

How to Use Sudo

This article provides a guide to using a Sudo user on CentOS server. From the command line,...

Set Server Time Zones with Timedatectl

This article provides a guide to setting the server time and server time zone settings using...