Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jul 2017 01:54:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220463] security/dropbear The generated public key is unusable by dbclient (and ssh)
Message-ID:  <bug-220463-13-8i9qpK8tiT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220463-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220463-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220463

dewayne@heuristicsystems.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
         Resolution|---                         |Works As Intended

--- Comment #2 from dewayne@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 -=20
rm /usr/local/etc/dropbear/dropbear_rsa_host_key /root/.ssh/id_dropbear ;=20

# 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 :)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220463-13-8i9qpK8tiT>