Skip to content

Instantly share code, notes, and snippets.

@cyper85 cyper85/.bash
Created Jan 20, 2016

Embed
What would you like to do?
WLAN im studNET in Leipzig
# Passwort ändern
passwd
# Programme installieren
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
sudo apt-get -y install nohup vim sshpass
sudo touch /usr/local/bin/studnet.sh
sudo chmod u+rwx /usr/local/bin/studnet.sh
sudo vim /usr/local/bin/studnet.sh
/usr/bin/nohup /bin/sh /usr/local/bin/studnet.sh > /var/log/studnet.log &
exit 0
#!/bin/bash
while true
do
sshpass -p 'PASSWORT' ssh -t -t -o StrictHostKeyChecking=no MIETERNUMMER@139.18.143.253
echo "done"
sleep 5
done
@cyper85

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.