TheRoark
2018-08-05, 17:41
I am trying to set up an encrypted Raspberry Pi running Kali with the capability of remote SSH in case it stalls/reboots/etc (as described here (https://www.kali.org/tutorials/secure-kali-pi-2018/)). The Kali running on an encrypted partition works fine as long as I can locally log in. But when trying to login using SSH via DropBear as per the Kali instructions:
root@kali:~# ssh-o"UserKnownHostsFile /dev/null" [email protected]
I get:
[email protected]: Permission denied (publickey)
I found a bug report (https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1645555) that suggests it has to with the DropBear script, so I tried:
Code:
nano /usr/share/initramfs-tools/hooks/dropbear
and replacedCode:
`home=$(mktemp -d "$DESTDIR/root-XXXXXX")`
with
Code:
home="$DESTDIR/root"
mkdir -p $home
But the error persists.
Anyone able to help on this? Or someone have this working???
root@kali:~# ssh-o"UserKnownHostsFile /dev/null" [email protected]
I get:
[email protected]: Permission denied (publickey)
I found a bug report (https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1645555) that suggests it has to with the DropBear script, so I tried:
Code:
nano /usr/share/initramfs-tools/hooks/dropbear
and replacedCode:
`home=$(mktemp -d "$DESTDIR/root-XXXXXX")`
with
Code:
home="$DESTDIR/root"
mkdir -p $home
But the error persists.
Anyone able to help on this? Or someone have this working???