Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-07-2009, 08:04 AM   #1
Registered: Apr 2009
Posts: 41

Rep: Reputation: 15
Accessing an Active SSH Session

Is there a way to access/log in to an active session? (using putty?)

pts/0 is running a process on my computer at home, i'd like to see how far a long it is..
Old 05-07-2009, 09:51 AM   #2
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
You can't with the current session, but in the future, ssh to the remote machine, run 'screen', then run your process inside of screen. use ctrl-a d to detach from screen and your process continues. to check on the process, ssh back to the machine and run 'screen -r' and you'll reattach to the process to check up on it.
Old 05-07-2009, 10:24 AM   #3
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 386Reputation: 386Reputation: 386Reputation: 386
Yup, screen is the way to go. There's a lighter alternative called dtach or something like that, but I never bothered to check it.
Old 05-07-2009, 03:50 PM   #4
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
nohup is also a valid alternative when you dont need an interactive way back to the session. It will log all output to a specified file.


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
SSH concurrent session limit and idle session time out lasygsd Linux - Newbie 3 10-30-2014 07:56 AM
Remote into active session??? tiger.woods Linux - General 11 03-29-2006 06:16 AM
Telnet/SSH screen stops responding after a while but the session is still active alllle Linux - Networking 4 05-04-2004 12:52 PM
Active X session Sonte Linux - Newbie 1 03-06-2004 01:43 PM
Accessing the Active Directory GoRinNoSho Linux - Newbie 3 06-27-2003 09:44 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:40 AM.

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