Skip to content
This repository was archived by the owner on Jan 12, 2022. It is now read-only.

phips4/no-hibernate-when-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

no-hibernate-when-ssh

Prevent your linux (with gnome) from hibernating when logged in with SSH

The following command adds a new script to your SSHD pam file which handles the preventing and reactivating functionalities.

currently work in progress

installation

wget https://github.com/phips4/no-hibernate-when-ssh/master/install.sh && sudo bash ./install.sh && rm ./install.sh

todo list

  • switched from .bashrc / .bash_logout to pam
  • download and link script files
  • provide an installation
  • disable hibernate mode on ssh activity
  • enable hibernate mode when all ssh sessions are closed
  • move files into own directory (/etc/no-hibernate-when-ssh/)
  • verify checksums on file download
  • provide a way to check if no hibernate is active

About

Prevents your linux PC from hibernating when you are connected via SSH

Topics

Resources

Stars

Watchers

Forks

Languages