modified: README.md
All checks were successful
/ ssh-server (push) Successful in 50s
/ ssh-client (push) Successful in 9s

This commit is contained in:
2025-10-26 10:04:25 +00:00
parent a6bc2c9460
commit 95ee33f3e8

View File

@@ -4,16 +4,16 @@
```bash ```bash
ssh-keygen -t ecdsa -b 521 ssh-keygen -t ecdsa -b 521
#or
ssh-keygen -t ecdsa -b 521 -f ~/.ssh/key-ecdsa
# specif an file
ssh-keygen -t ecdsa -b 521 -f ~/.ssh/key-ecdsa
``` ```
## Copy public key ## Copy public key
```bash ```bash
ssh-add ~/.ssh/id_ed25519 ssh-add ~/.ssh/id_ed25519
ssh-copy-id -i ~/.ssh//ey-ecdsa.pub example_user@192.0.2.4 ssh-copy-id -i ~/.ssh/y-ecdsa.pub example_user@192.0.2.4
``` ```
## Add existing Key ## Add existing Key
@@ -40,4 +40,3 @@ _(local machine without direct access to target-server)_
```bash ```bash
ssh -f -N -L localhost:8001:target-server:80 usr@jump-machine.local ssh -f -N -L localhost:8001:target-server:80 usr@jump-machine.local
``` ```