Last active
October 20, 2020 04:22
-
-
Save deval-maker/01a75a16ac57d4897d39259bcdff776e to your computer and use it in GitHub Desktop.
How to setup remote ssh config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run everything on host | |
$~/.ssh/config | |
Host <HostName> | |
HostName <HostIP> | |
User <username> | |
$ ssh-keygen | |
$ ssh-copy-id <HostName> | |
You will be prompted for password of the host. | |
$ ssh <HostName> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment