[Bug 220463] security/dropbear The generated public key is unusable by dbclient (and ssh)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 5 01:54:39 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220463
dewayne at heuristicsystems.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |Closed
Resolution|--- |Works As Intended
--- Comment #2 from dewayne at heuristicsystems.com.au ---
(In reply to Piotr Kubaj from comment #1)
After further investigation - this is how dropbear should be setup.
# Cleanup any old work -
rm /usr/local/etc/dropbear/dropbear_rsa_host_key /root/.ssh/id_dropbear ;
# Create host key
dropbearkey -t rsa -f /usr/local/etc/dropbear/dropbear_rsa_host_key
# Create my keys
cd /root/.ssh
dropbearkey -y -f id_rsa | grep "^ssh-rsa " >> authorized_keys
# Prepare for openssh use, if required
dropbearconvert dropbear openssh id_rsa id_rsa_openssh
# Use
dbclient -i id_rsa 10.0.55.115
ssh -i id_rsa_openssh 10.0.5.115
# Success :)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list