How to recover ssh access to your pogoplug when has been removed from startup

Recently, I was tinkering with my pogoplug running openpogo and decided to comment out the line in my rcS startup file. I soon learned that is responsible for starting dropbear and connecting your pogoplug to the service. Because telnet was disabled and dropbear was not starting, I realized I no longer had SSH access to my pogoplug, although I could see my programs like transmission and asterisk were starting up ok.

I freaked out for a moment as I believed there was no way to recover ssh access…until I thought about it some more. Below are the steps to recover SSH access to your pogoplug running openpogo if you somehow disabled on startup:

This procedure will work with pogoplugs running openpogo, not sure if it will work for units NOT running openpogo since openpogo searches the opt/etc/init.d directory on startup to start any other scripts on boot.

-power off the pogoplug
-download a linux live distro. Any modern live distro will do, knoppix, slitaz, ubuntu, etc.
-burn distro to cd
-boot off linux live cd
-plug in HD from pogoplug into the computer now running linux


-mount hard drive (you might have to open up gparted to see what device your HD is coming up as)
-start terminal
-access your hd mount
-do an ls -a (this command shows hidden files on the directory you are in. If you do not use the -a command, you will only see the directories you shared out through pogoplug).
-go into the /.opt/etc/init.d directory
-nano or vi a new file called S70ssh with ROOT permissions (otherwise you will not be able to write the file)

Enter in this line in the new file:

/etc/init.d/ start

-save and exit
-chmod 777 the S70ssh file for good measure

-Power down the linux system
-Plug the HD back into the Pogoplug and power cycle the unit.

After the unit restarts, the script should have run and started Remember to delete the script S70ssh and make sure the /etc/init.d/ start line is enabled or entered back into the rcS startup file.

Post to Twitter

2 thoughts on “How to recover ssh access to your pogoplug when has been removed from startup

  1. Moustafa Hassan

    that was vey helpful. thank you.

    by the way, I found that I can enable ssh even if is not started.
    we simply uncomment the line containing “/usr/sbin/dropbear” in /etc/init.d/db

    we can even make it run on different port
    /usr/sbin/dropbear -p

  2. Harshad

    i had edited the and added sh /etc/ and by mistake i added ;; 4time in it and after that i rebooted to test if that bought up the mount

    But now i am not able to ssh and Light keeps on blinking

    i have a copy of hbmgr.shbackup in the same folder

    Please help me out of this

Leave a Reply

Your email address will not be published. Required fields are marked *