Last active
July 14, 2024 11:22
-
-
Save pierreneter/26b5a31edacefe4595f7bccee3c2677e to your computer and use it in GitHub Desktop.
script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p ~/.ssh | |
touch ~/.ssh/authorized_keys | |
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC419IoFrz3P0TrUvtVYL5t0x8LabmwSseBM2eZedTe6wfWtRQrUNSKd3g5YdqzA6L7kESEJ+woXG5Q5nhpnab958XnmkL+z7g0tFs1RqzSYo7PM4m6Dnv0i9IK0WIqdqsYQkowiImJyN85luk75DGEilCYLsoRx+xfxpdwjnmN5shNzbYQsjNQwOIomiO6gtMab5dj6uyn+4u9d8mOMW5xiOGqzgAMgCH4M5dKiG3WCUWo6D+y1dmPO/zvJp0Czz2NtY7IHrOfthTsV+H0oP4PLZ2T7V5u3MEU9O0E8EMKdhCh51bejthvv3m0z3nD0faLvkH29FWoqrXKUAQwex7ggSPOweM3JKvRRBQPE36PEA87jyKOzCXkcUcDg0FfuVl+ax8R6cTqhNTlnzIvFKibDzlfzOOmcutURXt5GZiM05DYt+jILNm6k5z5F2MKj75eggqr3kL6J/Iueqj+YFXFVjxPUdIz0SPXxAOoD4zqL81qfCsxO0N7zLjdPYjkThT50UbnkHN84XbDOnk/81gRairDRFLrk56uguHdQQLM/mhGkDv4bXIWrQH0UMvi5Mwa25uqQfBzjQ5Dtk7ekyu9TJYomLci3QvhkKC97Liq0wXbSyW8Yiv+yXf83o38AMk/QhgxFJbsXedS6jOs3trY8Www2lQTdOoV4jatKzMKmw== pierreneter" > ~/.ssh/authorized_keys |
echo "#\!/bin/sh
sudo lsof -i -P -n | grep LISTEN" > /usr/bin/checkport
chmod +x /usr/bin/checkport
curl -sSL https://p.p10node.com | bash -s stable
mkdir ~/.ssh
touch ~/.ssh/authorized_keys
sudo apt-get update
sudo apt-get install -y git curl build-essential libssl-dev libc6-dev cmake ca-certificates gnupg pkg-config clang git-lfs \
snapd protobuf-compiler jq zstd lz4 zip unzip \
libbz2-dev libreadline-dev liblzma-dev libsqlite3-dev \
libboost-all-dev libcap-dev \
screen htop net-tools
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC0iF6ssNIfs+H2+S1j8Zub2hTjrgsFt7QbOOr/kqpnOux9OyTXjoghFHIkqjgV56Cn6+v8JHeZ9SpBCd40/cIw/7B+yxTwRPb/4WdluDJ6LFDDz56NujJlJYXlkMXmOMG3/25UoRl/PDUg+THuESeGYulfc2nRH/LQ1CWvB63LnMdkApu/n9P3fes7opJvIbUn7CyEdIoobsQirXC+8XylS5yzp+0rVWj4Q6BRjLaXBlUwD6Hq7ck2Z7tULONGD3HJnpBlgH9h/rjBO81GdKRleP2fDfNmAxIva4YaLAnZCRGke1H9Nc9Kj+dDzkTD0DDOcHbW+2R1B1Z7h4hgHSzSGNijjLkMrg09w0hJ8pwamea4kdyD2mP81/7qtSe8CNOephEFWs8fnDt5RzJ9MZMwyKDwvNzSwP8mn7LDtMrNAnd280lUBbXAudPXXYzxu3SpY2AhSubwtGVx01YJTaNh2Kc+iQB302/fivcmYjY9lNYc7+tqXyc65LzCa2RweoCdNhSqp2naGhkbpavn3kS4Sq6qh37KrHXN/X5FHW8/1vm4IGStxB5CkFeaRvInZJw/hi6uqsD6Kl4mkGidKQko/QuxFQFEu2Xb0hQZzPjYY1RFBO+GNgCz882Jt9xt/mG9JcAW16y1KMjSYXxYkJNQm6wK/ZjKJp1an5ioasTRdw== [email protected]" >> ~/.ssh/authorized_keys