Coolest Guides on the Planet

coolest guides on the planet

Coolest Guides On The Planet

  • Home
  • macOS
  • WebDev
  • All Posts
  • Contact

Connecting SSH with no Passwords from Local to Live Domain

March 26, 2015 Leave a Comment

This guide is about setting up a SSH connection without passwords from a local development environment to a live domain site, the requirements are that you have SSH access to the live domain.

Setting up SSH folder on a Remote Domain

SSH into the domain as the domain owner.

By default some hosting providers do not set up a .ssh folder in the domain home.

default-cpanel-structure

 

Make a secure SSH directory if it doesn’t exist.

mkdir .ssh

Set the permissions so only the domain owner can read/write and execute

chmod go-rwx .ssh/

Create an authorised keys file inside

touch .ssh/authorized_keys

Now grab you local public secure key file and add it to the remote authorized_keys file.

nano .ssh/authorized_keys

Paste and save.

Now make the authorized_keys file secure

chmod a-w .ssh/authorized_keys

Now from Local you can access

Either on the standard SSH port

ssh [email protected]

Or on a non-standard port

ssh [email protected] -p2000

Once you have this set, it makes things like version control a lot easier.

Cats: Hosting, WebRoot Tags: cpanel, shell, ssh

Tags

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls

Donate a Beer to the Coolest Guides

Get Beaver Builder Now!

Discuss

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls
Get DesktopServer

Lynda

Lynda.com Online Training Videos

TreeHouse

smlinks

Learn WordPress
osx-modify-shell-path

How to Add to the Shell Path in macOS Big Sur and Catalina using Terminal

October 19, 2019

virtual-hosts osx 10.10 yosemite

Set up Virtual Hosts on macOS Catalina 10.15 in Apache

October 19, 2019

Installing Homebrew on macOS Catalina 10.15, Package Manager for Linux Apps

October 18, 2019

Where is the bash shell in macos Catalina?

October 12, 2019

Refine your search

  • All
  • Modules
  • Themes
  • Documentation
  • Forums & Issues
  • Groups

RSS feed: ars technica ars technica

  • Apple Mac mini review: The new M6 impresses, but the price hike is rough
  • Apple reportedly building server packed with M-series Ultra chips for AI
  • macOS 27 Golden Gate: The Ars Technica review
  • OpenAI stuck fighting Musk antitrust suit after Apple finds a way out
  • Apple releases iOS 27, macOS Golden Gate 27 with Siri AI and Liquid Glass refinements

RSS feed: mac surfer mac surfer

  • OpenAI Says ChatGPT in Siri Dramatically Underperformed
  • Siri AI Headed to HomePod, Code Reveals
  • Apple Card Savings Rate Rises to 3.5%
  • Apple Seeds iOS 27.2 First Public Betas
  • Apple Tests Whoop-Style Screenless Fitness Band

Donate

Copyright © 2026· Neil Gee - All Rights Reserved - Hosted by Runcloud

Copyright © 2026 · gee on Genesis Framework · WordPress · Log in