A collection of scripts for efficiently managing, updating, and maintaining Linux servers and Raspberry Pi systems remotely.
connect_to_server_ssh.bat: Windows batch script for remote setup and connectionsetup_update_script.bat: Setup script for copying and configuring the update script on the Linux serverupdate_script.sh: Bash script for automated system updates on the Linux serverconfig.example.ini: Example configuration file for storing connection details securely - rename toconfig.ini
- Ensure you have SSH access to your Linux server or Raspberry Pi.
- Clone this repository or download the scripts to your local machine.
- Update the
config.inifile with your server's IP address, username, and the path to the update script.
- Open a command prompt in the script's directory.
- Run
connect_to_server_ssh.bat. - Follow the prompts to copy the update script, make it executable, add it to .bash_profile, and connect to your server.
This script runs automatically upon login to your Linux server or Raspberry Pi. It will:
- Update package lists
- Show upgradeable packages
- Perform system upgrades
You can set the script up by running the setup_update_script.bat script on your Windows machine.
- Windows system for running the batch script
- SSH client installed on the Windows system
- Linux server or Raspberry Pi with SSH access
Feel free to fork this repository and submit pull requests with improvements or additional scripts that could be useful for Linux server management. Keep it simple and short.