<commit_before>Ref: [Link](https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/)

#### Terminal
```shell
# Generate key
ssh-keygen -t rsa -b 4096 -C "<EMAIL>"
eval "$(ssh-agent -s)"
ssh-add -K ~/.ssh/id_rsa

# Check for current keys
ls ~/.ssh

# Get public key
cat ~/.ssh/id_rsa.pub

# Removing credentials from agent
rm -rf /tmp/ssh && ssh-add -D

# Check all saved credentials
ssh-add -l
```

### Running GUI applications
```shell
# Windows requirement: install Xming

# Install xauth on server
sudo yum install xorg-x11-xauth
sudo apt-get install xauth

# Login using X11
ssh -X <credentials>
```<commit_msg>Notes: SSH config file<commit_after>Ref: [Link](https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/)

#### Terminal
```shell
# Generate key
ssh-keygen -t rsa -b 4096 -C "<EMAIL>"
eval "$(ssh-agent -s)"
ssh-add -K ~/.ssh/id_rsa

# Check for current keys
ls ~/.ssh

# Get public key
cat ~/.ssh/id_rsa.pub

# Removing credentials from agent
rm -rf /tmp/ssh && ssh-add -D

# Check all saved credentials
ssh-add -l
```

### Running GUI applications
```shell
# Windows requirement: install Xming

# Install xauth on server
sudo yum install xorg-x11-xauth
sudo apt-get install xauth

# Login using X11
ssh -X <credentials>
```

### Automatic configuration
#### ~/.ssh/config
```
Host ec2-server
    HostName ec2server.ddns.net
    User ec2-user
    IdentityFile ~/.ssh/ec2-server.pem
```
{'fraction_non_alphanumeric': 0.15416098226466576, 'fraction_numerical': 0.013642564802182811, 'mean_word_length': 3.6132075471698113, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2056623', 'n_tokens_mistral': 584, 'n_tokens_neox': 522, 'n_words': 156}