Skip to content

Instantly share code, notes, and snippets.

@AstraLuma
Last active October 26, 2019 17:14
Show Gist options
  • Save AstraLuma/26c5e9e1cb57c0d2a93118430179467e to your computer and use it in GitHub Desktop.
Save AstraLuma/26c5e9e1cb57c0d2a93118430179467e to your computer and use it in GitHub Desktop.
Set up shellinabox and xonsh on ec2
#!/bin/sh -e
# EC2
#sudo yum install git zlib-devel autoconf automake libtool python35 python35-pip
# Scaleway - Ubuntu
sudo apt-get install git libpam0g-dev zlib1g-dev dh-autoreconf python3 python3-pip
# For some reason, the [ptk] doesn't work on Scaleway C1 with Ubuntu
sudo python3 -m pip install xonsh[ptk]
git clone https://github.com/shellinabox/shellinabox.git
cd shellinabox
autoreconf -i
./configure
make
sudo make install
#!/bin/sh
shellinaboxd -t -s /:$USER:$USER:$HOME:xonsh
@daviligithub
Copy link

There is a "ibhttp/ssl.c:1020:11: error: dereferencing pointer to incomplete type" error when the "make" was running.
If you know how to fix it please let me know. Thank you! [email protected]

@AstraLuma
Copy link
Author

That would be a bug for the shellinabox project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment