From 2dc306201f9a484668bc0e52c9806290210144d3 Mon Sep 17 00:00:00 2001 From: Pendosv Date: Mon, 30 Aug 2021 22:28:23 +0300 Subject: [PATCH] root --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 041eb47..5d52bdc 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,14 @@ ## SSH: Create ssh key on local device -```bash -ssh-keygen -``` -1. Save to ~/.ssh -2. Copy local "~/.ssh/id_rsa.pub" key to remote "~/.ssh/authorized_keys" + +`ssh-keygen` + +1. Save to `~/.ssh` +2. Copy content of `~/.ssh/id_rsa.pub` key to remote `~/.ssh/authorized_keys` -### ~/.ssh/config: +**~/.ssh/config:** ``` Host host_name HostName ip @@ -19,6 +19,7 @@ Host host_name IdentityFile ~/.ssh/id_rsa ``` +*Examples:* ```bash ssh host_name sftp host_name