• Contact Sales
  • Contact Support
  • Blog
  • Server Status
  • Back to website
Host Media
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • Web Hosting
    • WordPress Hosting
    • WHM Reseller Hosting
    • Lucee Hosting
    • ColdFusion 11 Hosting
    • DirectAdmin Hosting
    • DirectAdmin Reseller Hosting
    • Windows .NET/Lucee Hosting
    • Managed KVM Virtual Servers
    • Unmanaged KVM Virtual Servers
    • Servers
    • SSL Certificates
    • Website Builder
    • Website Security
    • E-mail Services
    • SEO Tools
    • Website Backup
    • VPN
    • Professional Email
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledgebase
  • Network Status
  • Affiliates
  • Contact Us
  • More
  • Account
    • Login
    • Register
    • Forgot Password?
There are upcoming maintenance events which may impact our services. Learn more

  Categories

2
Advanced
6
Billing / Ordering
11
Client Area
27
ColdFusion & Lucee
10
cPanel
15
Databases
17
DNS (Name Servers)
23
Domains
9
Email (Mail)
12
Email Programs
2
Fantastico
2
FFmpeg
8
File Management
18
FTP Programs
3
Hosting Record How-to
3
Installing Software
9
Introduction to Hosting
18
Joomla
1
Logs
1
MineCraft Servers
3
Other
13
phpMyAdmin
3
Reseller Hosting
5
Security
15
Softaculous
2
SSL Certificates
18
Transferring Your Domain
10
TroubleShooting
3
Using my Browser
10
VPS and Dedicated Servers
1
Web Hosting Glossary
13
WordPress

  Categories

  Tag Cloud

Addon Domain Apache CFFile CFManager CGI ColdFusion cPanel eNom Environment Variables FFMpeg Git HTTPS Install IPSTag Java Jetty Linux Lucee Microsoft Windows MineCraft Performance SFTP Software SOLR SSH SSL Tutorial WHMCS Windows Servers WordPress

  Support

  My Support Tickets   Announcements   Knowledgebase   Downloads   Network Status   Open Ticket

Keeping SSH session running using 'Screen' Print

  • 2

Screen is like a window manager for your console. It will allow you to keep multiple terminal sessions running and easily switch between them - much like the Mac OS and Windows 10 desktop screens. It also protects you from disconnection, because the screen session doesn’t end when you get disconnected - this is very handy if your connect gets borken pipes or unreliable connections.

To make sure screen is installed on the server you are connecting to use the following command:

sudo apt-get install screen
Or with CentOS 5+
sudo yum install screen

Now that screen has been installed you can create a new screen session by using the simple command below.

screen

To disconnect but leave the session running in the background:

Press Ctrl+A and then Ctrl+D. You will see the message [detached]

To reconnect to an already running session:

screen -r

To reconnect to an existing session, or create a new one if none exists

screen -D -r

To create a new window inside of a running screen session

Hit Ctrl+A and then C in immediate succession. You will see a new prompt.

To switch from one screen window to another

Hit Ctrl+A and then Ctrl+A in immediate succession.

To list open screen windows

screen -ls

There’s lots of other commands you can use but the above will do most of the common elements of using screen.


Was this answer helpful?

Related Articles

rkhunter (Rootkit Hunter) Install Guide What is rkhunterrkhunter (Rootkit Hunter) is a Unix-based tool that scans for rootkits, backdoors... How to install a .bin file using SSH on Ubuntu/CentOS Bin files are Linux self-extracting binary files that is commonly used for server-side software.... Can you install Zope & Plone CMS onto my VPS or dedicated server? We can install and setup the latest Zope & Plone CMS onto any of our VPS or dedicated... How to I stop & start Plone To start Plone, issue the following command in a terminal window: sudo -u plone... How do I access Zope management interface? To access the management interface for Zope, http://localhost:8080/manage By default Plone &...
« Back

  Tag Cloud

Addon Domain Apache CFFile CFManager CGI ColdFusion cPanel eNom Environment Variables FFMpeg Git HTTPS Install IPSTag Java Jetty Linux Lucee Microsoft Windows MineCraft Performance SFTP Software SOLR SSH SSL Tutorial WHMCS Windows Servers WordPress

  Support

  My Support Tickets   Announcements   Knowledgebase   Downloads   Network Status   Open Ticket

Copyright © 2021 Host Media Ltd | Company Registration No. 10990171 | Registered in England and Wales
VAT No. GB283897147 | UK EORI No. GB283897147000 | D&B D-U-N-S™ No. 222653028 | Prices Include UK/EU 20% VAT
Registered Office: 20-22 Wenlock Road, London, N1 7GU, United Kingdom


Loading...
Loading...

Generate Password

Please enter a number between 8 and 64 for the password length