Login shell for NJUPT network
- download or copy this script. (here name it login.sh)
wget https://raw.githubusercontent.com/aimixsaka/login_shell/main/login.sh
or clone this repogit clone https://github.com/aimixsaka/login_shell.git
- run
chmod +x ./login.sh
on your terminal - use
./login.sh -h
for help - use
./login.sh -U "Bxxxxx" -P "xxxx" -I "NJUPT-xxx"
or./login.sh --username "xxx" --password "xxx" --isp "xxx"
to connect. - over
use crontab or systemd-timer to run it automatically