Skip to content

henriqueal/ssh-key-generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

Steps to become a developer more faster

    1. Turn off the password expiration for user henriqueal:
# chage -M 99999 henriqueal
    1. It's easier remember name than numbers! Configure your 'hosts' to map hostnames to IP addresses:
## Open hosts file:
$ sudo gedit /etc/hosts

## Add the follow line:
192.168.0.1 app-hom
    1. Stop typing your password! Generate your public ssh-key and install in remote servers:
## Generating ssh
$ cd ~/.ssh
$ ssh-keygen

## After generate you should have two files (something.pub something)
$ ls
id_rsa id_rsa.pub 

# Now, we can install it in each server we want. Let's install it in server configured in the first step:
$ ssh-copy-id -i ~/.ssh/id_rsa.pub henriqueal@app-hom

About

Steps to become a developer more faster

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published