modified: README.md
This commit is contained in:
1 parent
a6bc2c9460
commit
95ee33f3e8
1 file changed
+3
-4
@@ -4,16 +4,16 @@
|
||||
|
||||
```bash
|
||||
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
|
||||
|
||||
```bash
|
||||
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
|
||||
@@ -40,4 +40,3 @@ _(local machine without direct access to target-server)_
|
||||
```bash
|
||||
ssh -f -N -L localhost:8001:target-server:80 usr@jump-machine.local
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user