Add ssh config options

This commit is contained in:
2022-05-06 13:12:20 +02:00
parent a7a5173ec0
commit 9d7a1e6af5

View File

@ -39,6 +39,19 @@ For creating **SSH RSA Keys**, one should:
```bash ```bash
echo "CanonicalizeHostname yes" >> ~/.ssh/config echo "CanonicalizeHostname yes" >> ~/.ssh/config
``` ```
4. Configure further SSH options as follows:
```bash
echo "AddKeysToAgent yes" >> ~/.ssh/config
echo "ForwardAgent yes" >> ~/.ssh/config
```
Other options may be added.
5. Check that your SSH config file contains at least the lines mentioned in steps 3 and 4:
```bash
(base) ❄ [caubet_m@merlin-l-001:/data/user/caubet_m]# cat ~/.ssh/config
CanonicalizeHostname yes
AddKeysToAgent yes
ForwardAgent yes
```
## Using the SSH Keys ## Using the SSH Keys