LinuxQuestions.org
Help answer threads with 0 replies.
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 01-22-2011, 05:09 PM   #1
antonko
LQ Newbie
 
Registered: Dec 2010
Location: Ukraine
Distribution: Kubuntu 10.04 LTS
Posts: 10

Rep: Reputation: 0
Question Connect via SSH to remote /dev/pts/X


Hello!
Target server is under Kubuntu 10.04. Is there any method to connect using SSH session directly to an existing /dev/pts/X device?
I need it, because an instance on User-Mode Linux virtual machine allocates it's TTYs as a set of /dev/pts/X devices in the host file system. As I understand, for futher interactions with the VM I need to connect to that devices.

Thank you!

Last edited by antonko; 01-22-2011 at 05:11 PM. Reason: Mistake in the topic's header
 
Old 01-23-2011, 09:27 AM   #2
antonko
LQ Newbie
 
Registered: Dec 2010
Location: Ukraine
Distribution: Kubuntu 10.04 LTS
Posts: 10

Original Poster
Rep: Reputation: 0
By the way, if someone would be interested in, I've found in the manual of UML, that it's possible to connect virtual TTY devices to Host's TCP ports (telnetd has to be installed be before). It can be done like this:
Code:
linux ... con=port:<tcp port>
But it's not a solution for connecting to existing PTS

Last edited by antonko; 01-23-2011 at 09:29 AM.
 
Old 01-23-2011, 09:40 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
It sounds like you need to investigate using the screen command. You can use screen to create virtual terminal sessions that you can detach from and then re-attach later from a completely different machine. Kind of like VNC for the terminal crowd. You also might look at tmux, which I believe has similar capabilities plus some tiling capabilities built in.
 
  


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
pseudo terminals: /dev/ptmx <-> /dev/pts/ vs. /dev/ptyp <-> /dev/ttyp rtspitz Linux - Software 2 12-02-2011 02:07 PM
[SOLVED] Issues with /dev/pts & /dev/shm, when LFS boots zer0signal Linux From Scratch 2 12-21-2010 07:14 AM
Is it possible to redirect all outputs from /dev/console to /dev/pts/0? SJDad Linux - Newbie 3 08-09-2010 05:59 PM
Kernel config options (/dev, /dev/pts) jrdioko Slackware 5 08-22-2005 01:25 AM
What is /dev/pts, /dev/shm? mrpc_cambodia Red Hat 1 10-18-2004 03:27 AM

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

All times are GMT -5. The time now is 10:31 PM.

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