modified: README.md
This commit is contained in:
@@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user