Add ssh config options
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user