Pascal's Blog

linux

Automatically start SCREEN on SSH login

  • Apr 30, 2010
  • POST
I just found a nice method to invoke screen automatically if after login via SSH. So you don’t have to manually start it first. Put the following at the end of your ~/.bashrc # Auto-screen invocation. see: http://taint.org/wk/RemoteLoginAutoScreen # if we're coming from a remote SSH connection, in an interactive session # then automatically put us into a screen(1) session. Only try once # -- if $STARTED_SCREEN is set, don't try it again, to avoid looping # if screen fails for some reason.
LATESTS
NixOS on a MinnowBoard MAX and Turbot (serial console)
  • Nov 10, 2016
  • POST
Keep your docker clean
  • Nov 7, 2016
  • POST
From TCP to TLS in Go
  • Dec 17, 2015
  • POST
Configurable Yocto/OpenEmbedded recipes
  • Feb 14, 2015
  • POST
New Unison (2.40.102) builds available
  • Jun 5, 2013
  • POST
Using Cygwin SSH with Putty Pageant
  • Mar 11, 2011
  • POST
Use Zentyal Zarafa z-push with an N900
  • Oct 19, 2010
  • POST
Build Ubuntu/Debian packages from source (and apply a patch)
  • May 6, 2010
  • POST
Automatically start SCREEN on SSH login
  • Apr 30, 2010
  • POST
Bazaar Pro Engineer Helpers 0.3.0 Released
  • Jan 21, 2010
  • POST
CATEGORIES
  • development (15)
  • howtos (14)
  • experience (6)
  • projects (2)
  • yocto (1)
TAGS
  • python (9)
  • ucplib (5)
  • openmoko (4)
  • sms (4)
  • bzr (3)
  • proe (3)
  • ssh (3)
  • ubuntu (3)
  • vlc (3)
  • vmware (3)

© Pascal's Blog

Powered by Hugo.

Robust designed by Daisuke Tsuji.