Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 707 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 707 Bytes

Log-SSH-Session

A simple script to log and save an entire SSH session (with the date) on Linux systems

Requirements

Install these packages first : ssh screen

apt install ssh screen -y

For Debian distributions or

dnf install ssh screen -y

For RedHat ones

Installation

In a directory of your choice copy the repo :
git clone https://github.com/XenorInspire/Log-SSH-Session.git

Move in the directory :
cd Log-SSH-Session/

Make sure that the script has the right to be executed :
chmod +x SSH_session.sh

Execute the script where it was copied with higher privileges :
./SSH_session.sh <@IP> <user> <session_name>