Skip to content

A simple script to log and save an entire SSH session on Linux systems

Notifications You must be signed in to change notification settings

XenorInspire/Log-SSH-Session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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>

About

A simple script to log and save an entire SSH session on Linux systems

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages