ssh update
This commit is contained in:
parent
b732f53005
commit
e2cdb78837
@ -15,3 +15,12 @@ sudo ssh -i /home/user/.ssh/id_rsa" user@192.168.0.72
|
||||
```
|
||||
ssh -o ProxyCommand="ssh -W %h:%p -q ubuntu@jumphost-xxx.cloud" ubuntu@10.5.2.44
|
||||
```
|
||||
|
||||
## Generate public key from private key
|
||||
|
||||
In case you only have the private key, you can generate the public key like this:
|
||||
|
||||
```
|
||||
ssh-keygen -f ~/.ssh/id_rsa -y > ~/.ssh/id_rsa.pub
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user