LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-14-2010, 12:05 PM   #1
batfastad
Member
 
Registered: Nov 2004
Location: London, UK
Distribution: CentOS, RHEL, Debian, IPCop, PS2Linux
Posts: 95

Rep: Reputation: 23
Question SSH login to persistent console


Hi everyone

For a while I've been SSHing to our servers over an OpenVPN connection. This usually works great, apart from when I get disconnected for whatever reason. I've been meaning to figure this out for ages.

Is there a way to login to a persistent shell/console?

For example, I start a task running, eg compressing large amounts of data with the output being echoed to the screen, then get disconnected from my session.
Is it possible to log back in to that session to view the progress of that command?

Or when I'm disconnected does it logout and kill the session?

Cheers, B
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 12-14-2010, 12:08 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
http://ostatic.com/blog/screen-a-sysadmins-powertool
 
2 members found this post helpful.
Old 12-14-2010, 12:24 PM   #3
batfastad
Member
 
Registered: Nov 2004
Location: London, UK
Distribution: CentOS, RHEL, Debian, IPCop, PS2Linux
Posts: 95

Original Poster
Rep: Reputation: 23
Solved!!
That. Is. Awesome.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prohibit direct root login (ssh or console) Hiroshi Linux - Security 9 08-25-2010 02:58 PM
Can't login over console, but can SSH in djbob Linux - General 2 07-16-2009 01:50 PM
Unable to login via console or SSH predatorz Fedora 8 01-07-2008 01:17 AM
Unable to login via console or SSH predatorz Linux - General 3 01-05-2008 08:23 AM
Can only log through ssh, not login console. narc Linux - Software 1 09-06-2005 12:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration