mirror of
https://github.com/clearml/dropbear
synced 2025-06-25 09:37:00 +00:00
Update README
This commit is contained in:
parent
9ff337aa3b
commit
e5279b0e2e
10
README
10
README
@ -42,8 +42,7 @@ If you have an OpenSSH-style private key ~/.ssh/id_rsa, you need to do:
|
|||||||
dropbearconvert openssh dropbear ~/.ssh/id_rsa ~/.ssh/id_rsa.db
|
dropbearconvert openssh dropbear ~/.ssh/id_rsa ~/.ssh/id_rsa.db
|
||||||
dbclient -i ~/.ssh/id_rsa.db <hostname>
|
dbclient -i ~/.ssh/id_rsa.db <hostname>
|
||||||
|
|
||||||
Currently encrypted keys aren't supported, neither is agent forwarding. At some
|
Dropbear does not support encrypted hostkeys though can connect to ssh-agent.
|
||||||
stage both hopefully will be.
|
|
||||||
|
|
||||||
============================================================================
|
============================================================================
|
||||||
|
|
||||||
@ -52,13 +51,18 @@ dropbearkey's '-y' option.
|
|||||||
|
|
||||||
============================================================================
|
============================================================================
|
||||||
|
|
||||||
To run the server, you need to generate server keys, this is one-off:
|
To run the server, you need to server keys, this is one-off:
|
||||||
./dropbearkey -t rsa -f dropbear_rsa_host_key
|
./dropbearkey -t rsa -f dropbear_rsa_host_key
|
||||||
./dropbearkey -t dss -f dropbear_dss_host_key
|
./dropbearkey -t dss -f dropbear_dss_host_key
|
||||||
|
./dropbearkey -t ecdsa -f dropbear_dss_host_key
|
||||||
|
|
||||||
or alternatively convert OpenSSH keys to Dropbear:
|
or alternatively convert OpenSSH keys to Dropbear:
|
||||||
./dropbearconvert openssh dropbear /etc/ssh/ssh_host_dsa_key dropbear_dss_host_key
|
./dropbearconvert openssh dropbear /etc/ssh/ssh_host_dsa_key dropbear_dss_host_key
|
||||||
|
|
||||||
|
You can also get Dropbear to create keys when the first connection is made -
|
||||||
|
this is preferable to generating keys when the system boots. Make sure
|
||||||
|
/etc/dropbear/ exists and then pass '-R' to the dropbear server.
|
||||||
|
|
||||||
============================================================================
|
============================================================================
|
||||||
|
|
||||||
If the server is run as non-root, you most likely won't be able to allocate a
|
If the server is run as non-root, you most likely won't be able to allocate a
|
||||||
|
Loading…
Reference in New Issue
Block a user