Visit Jeremy's Blog.
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 08-14-2012, 04:42 PM   #1
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397

Rep: Reputation: 62
Question Connect from one pts/* tty to another?

Say I have left an SSH session open at work. Now I go home and connect another SSH session with the same user.

So now when I list the users I get: -

 22:34:22 up 28 days,  6:03,  2 users,  load average: 1.54, 1.48, 1.26
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/0     09:32    5:47m  0.50s  0.50s -bash
root     pts/1      22:26    0.00s  0.15s  0.00s w
Is it possible to connect from pts/1 to pts/0 into an interactive shell? I know people have suggested things like screen or VNC but surely there must be a *nix cli tool to connect from one to another, right?

Last edited by arashi256; 08-14-2012 at 04:44 PM. Reason: Clarification
Old 08-15-2012, 03:03 AM   #2
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 186

Rep: Reputation: 31
screen is a *nix cli tool


connect, processes, ssh, tty

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
[SOLVED] TTY's not working, switching TTY's does nothing David2010 Linux - Hardware 5 01-17-2012 11:25 PM
TTY's not working, switching TTY's does nothing David2010 Linux - Software 3 01-16-2012 03:29 AM
I it possible to kill a tty or find which tty is being using by which process? geletine Linux - Software 2 01-15-2006 08:40 AM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:47 PM.

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
Open Source Consulting | Domain Registration