Project

General

Profile

Actions

Feature #13103

closed

Warn the user if they attempt to disable SSH from the menu while connected through SSH

Added by → luckman212 over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Console Menu
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default

Description

Believe it or not, I fat fingered "13" the other day and typed "14" instead when connected via SSH ... and hit "y" which then locked me out of a firewall. Had to dig out the console cable to get it sorted.

This small patch just checks to see if the current session is via SSH and if so, it prints a warning if the user is about to footgun themselves.

Screenshot:

Actions

Also available in: Atom PDF