LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2010, 09:40 PM   #1
JurgyMan
Member
 
Registered: Jan 2004
Location: USA
Distribution: Gentoo
Posts: 60

Rep: Reputation: 15
gnu screen help


I'm trying to get gnu screen -X cmd line option to work with paste, to keep a ssh session alive. doesnt work!

anybody know howto get screen to send a command to the shell its displaying regularily... to keep the ssh session alive..

The idea was, get screen to send date cmd to my remote ssh sessions regularily... but cant figure out howto automate that...
If I get date into the buffer, paste command works, but have to do it my self defeating the goal.

maybe another terminal multiplexor can do that?

who uses screen? or is it old technology...
 
Old 10-13-2010, 04:28 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You can set an option in your SSH config (usually /etc/ssh/ssh_config) to do this - see the ServerAliveInterval in man ssh_config.
 
  


Reply



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
trying to use GNU screen. backspace makes screen flash. twelvenine Linux - Software 5 08-07-2009 08:37 PM
installing screen(http://www.gnu.org/software/screen/) dreamlemon Solaris / OpenSolaris 5 09-29-2007 03:36 PM
GNU screen for X xowl Linux - Software 1 10-04-2005 06:49 AM
GNU screen ? bouadie Linux - Software 3 06-04-2004 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:20 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