Le 04/03/2011 18:53, Bernard Schoenacker a écrit :
Le Fri, 4 Mar 2011 16:11:05 +0100,
Thibault Dupuis<[email protected]> a écrit :
Bonjour,
Je souhaite utiliser à distance un ordinateur via SSH. Seul problème,
en cas de déconnexion ou d'utilisation locale, comment faire pour
récupérer "l'affichage" de la session TTY?
Merci beaucoup!
bonjour,
apt-cache search molly-guard
molly-guard - protects machines from accidental shutdowns/reboots
apt-cache show molly-guard
Description: protects machines from accidental shutdowns/reboots
The package installs a shell script that overrides the existing
shutdown/reboot/halt/poweroff commands and first runs a set of scripts, which
all have to exit successfully, before molly-guard invokes the real command.
.
One of the scripts checks for existing SSH sessions. If any of the four
commands are called interactively over an SSH session, the shell script
prompts you to enter the name of the host you wish to shut down. This should
adequately prevent you from accidental shutdowns and reboots.
.
This shell script passes through the commands to the respective binaries in
/sbin and should thus not get in the way if called non-interactively, or
locally.
remarque:
screen est intéressant pour obtenir plusieurs onglets dans une session
unique dans un pts ou un TTY
slt
bernard
Merci pour vos réponses à tous!
J'ai donc installé "screen" et c'est exactement le type de logiciel que
je recherchais.
Il est très pratique quand on utilise une session SSH et que l'on veut
conserver celle-ci!
Bonne soirée.
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists
Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers [email protected]
En cas de soucis, contactez EN ANGLAIS [email protected]
Archive: http://lists.debian.org/[email protected]