Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

[GoFlex Home] Cannot login via SSH with latest Debian rootfs (v6.5.7) (no replies)

$
0
0
Hello

I'm installing the latest Debian rootfs (Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2) on my GoFlex Home, and everything seems to boot successfully from USB. Here are the steps I’ve completed so far:

1. Partitioned and formatted the USB drive as ext3, labeled it as "rootfs".
2. Extracted the rootfs archive to the USB root using:
sudo tar -xjf Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 -C /mnt/usb

3. Mounted dev, proc, sys and chrooted into /mnt/usb to set the root password and enable SSH login:

- Set a new root password using `passwd`
- Edited `/etc/ssh/sshd_config`:
```
     PermitRootLogin yes
     PasswordAuthentication yes
```
4. Unmounted everything and rebooted the GoFlex Home.

On reboot:

- I see the GoFlex Home gets an IP address from the router.
- The LED turns green.
- Port 22 is open (checked via nmap).
- I can ping the device.
- But SSH always gives:
`Permission denied, please try again.`

I also tried connecting using:

ssh -oKexAlgorithms=+diffie-hellman-group14-sha1 \
    -oHostKeyAlgorithms=+ssh-rsa \
    root@<IP>

Still no success.

Is there anything I'm missing or doing wrong?
Do I need to install the latest U-Boot in order to use this rootfs properly?
(Unfortunately, I don't have a USB-to-TTL serial cable at the moment.)

Any suggestions would be greatly appreciated.

To bodhi, thanks so much for your great work!

Viewing all articles
Browse latest Browse all 3247

Trending Articles