SSH on a PlayBook / Smartphone

I’ve been using WebShell ( for a while now. Great little tool, very easy to setup and easy to use.

To use it, download it and stick it somewhere in your filesystem. You’ll need to have python (2.3+) and optionally OpenSSL.

I then (on Gentoo) created the below little script in /etc/init.d/webshell:



depend() {
        need net
        use dns logger

checkconfig() {
        return 0

start() {
        checkconfig || return 1
        ebegin "Starting ${SVCNAME}"
        start-stop-daemon --start --exec /var/www/WebShell-0.9.6/ \
                -c nobody \
                -- "-i" "" "--ssl-disable" "-d"
        eend $?

stop() {
        ebegin "Stopping ${SVCNAME}"
        if [ -f ${PID} ]; then
                start-stop-daemon --stop --pidfile ${PID}
                ewarn "Couldn't found ${PID} trying to stop over the process name ${SVCNAME}"
                start-stop-daemon --stop --name ${SVCNAME}
        eend $?

Where is the IP of the host.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s