Currently seeking new career opportunities in web development, particularly with Laravel, Hire Me

Copy SSH key onto remote server

Dan Sherwood

Tutorials Bash

Table of Contents

Setting up a new project or starting work on a project which is new to you? Read on to discover the quick and pain-free way of enabling password-less ssh login.

Step-by-step guide

Run this command in your terminal to have your default identity public key copied across to the server of choice.

ssh-copy-id user@hostname.example.com

Now try

ssh user@hostname.example.com

Success.


You can read more on the topic at https://askubuntu.com/questions/4830/easiest-way-to-copy-ssh-keys-to-another-machine.

Laravel Modules Your Logo Your Logo Your Logo

Become a sponsor

Help support the blog so that I can continue creating new content!

Sponsor

My Latest Book

Modular Laravel Book - Laravel: The Modular way

Learn how to build modular applications with Laravel Find out more

Subscribe to my newsletter

Subscribe and get my books and product announcements.

Learn Laravel with Laracasts

Faster Laravel Hosting

© 2006 - 2024 DC Blog. All code MIT license. All rights reserved.