Setup SSH on Ubuntu

Image by Stampf from Pixabay

Scenario

We want to backup Thunderbird to the rhino account on a remote host 192.168.1.2 like this:

rsync -vaz /home/rhino/.thunderbird rhino@192.168.1.2:/home/rhino/

Approach

On the remote host 192.168.1.2 containing the rhino account:

Install and Start

$ sudo apt install ssh
$ sudo systemctl enable --now ssh

Firewall

Allow login via port 22.

$ sudo ufw allow ssh

Founder of Firefly Semantics Corporation

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Dart programming language

How to configure yum command in Redhat Linux……Step by step………..

Accessing remote host at test discovery stage in testinfra/pytest

What is WordPress Child Theme?

Use Ansible to customize AWS EMR through bootstrap actions

Formatting Code Analysis Rule with Android Lint (part 1/2)

Building Iinterntheory website from scratch at MASAI School

BLUETOOTH DOOR LOCK

image

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ole Ersoy

Ole Ersoy

Founder of Firefly Semantics Corporation

More from Medium

Setting up local domain on Windows

Building your command line interface (CLR) tool with vlang on Windows

What’s New in the 2022 Volume 1 Release: Document Processing Libraries

What’s New in the 2022 Volume 1 Release: Document Processing Libraries

How to Send a Message by WhatsApp API using vbnet

How to Send a Message by WhatsApp API using vbnet