Advertisement
metalx1000

Pogoplug Pro Notes

Mar 21st, 2017
2,787
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.63 KB | None | 0 0
  1. #Pogoplug Pro Notes
  2. #more notes: http://pastebin.com/mv1WdVdH
  3. #default username: root
  4. #default password: ceadmin
  5.  
  6. #access hidden web interface
  7. http://<pogo IP>/sqdiag/BGQueue
  8.  
  9. #execute command - https needed
  10. #start ssh
  11. curl -k "https://root:ceadmin@<pogo IP>/sqdiag/HBPlug?action=command&command=dropbear%20start";
  12. #or visit in web browser
  13. https://<pogo IP>/sqdiag/HBPlug
  14.  
  15. #enable telnet without need for username or password
  16. telnetd -l sh
  17. #or set port
  18. telnetd -p <port> -l sh
  19.  
  20. #############SSH DropBear###########
  21. #The version of Dropbear on this device is old
  22. #it uses an old/less secure encryption that your client might not like
  23. #you can override this on your client side like this
  24. ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 root@192.168.1.104
  25. #there is no sftp server, but you can scp like this
  26. scp -oKexAlgorithms=+diffie-hellman-group1-sha1 <file> root@192.168.1.104:
  27.  
  28. #############upgrade to newer DropBear##########
  29. #cross compile on desktop
  30. sudo apt-get install gcc-arm-linux-gnueabi
  31. wget "https://matt.ucc.asn.au/dropbear/releases/dropbear-2016.74.tar.bz2"
  32. tar -xjf dropbear-2016.74.tar.bz2
  33. cd dropbear-2016.74
  34. ./configure --host=arm-linux-gnueabi --prefix=/ --disable-zlib CC=arm-linux-gnueabi-gcc LD=arm-linux-gnueabi-ld
  35. make
  36. #copy to device
  37. scp -oKexAlgorithms=+diffie-hellman-group1-sha1 dropbear root@192.168.1.104:
  38. #test it, backup old version, and replace
  39. killall dropbear #you'll lose your connection so reconnect with telnet or serial
  40. ./dropbear #once you make sure it works kill it and move it
  41. killall dropbear
  42. mv /usr/sbin/dropbear /usr/sbin/dropbear.old
  43. mv dropbear /usr/sbin/dropbear
  44. /usr/sbin/dropbear
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement