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 11-02-2011, 03:27 PM   #1
LQ Newbie
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
Brief big-picture overviewed requested: Using screen and/or ssh to operate remotely

The I Swapped My Macbook for an iPad+Linode post featured on Hacker News described pretty clearly how I want to work, but it assumes a slightly higher level of knowledge than I have. He talks about how he does dev work on an iPad but over the net.

My goal is to do web2py development using my MacBook Air, with the code living on a remote server. From what I can tell, he's running vim on the remote? If so, how is the screen redrawn on the local machine? Does iSSH terminal emulation do the screen drawing as vim runs on the remote?

I can't tell if it works like this:
- iSSH on local machine
- vim on remote machine

Or like this:
- iSSH on local machine
- vim on local machine (but how does it reach files on the remote?)

And what is GNU Screen doing? Does it allow you to run multiple teminals and switch among them? What is the persistence he describes? Does it save the state of vim and the terminal between sessions? And if so isn't that a security risk? Where does GNU Screen live--on the local or on the remote?

Thanks. Sorry for the big question. I did indeed search the web for info on GNU Screen, ISHH and so on, but all the docs seem to omit a sentence briefly describing what the program does and what exactly it's for.
Old 11-02-2011, 05:02 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
iSSH is providing the terminal connection to an SSH server, vim is running on the remote machine. Once logged in to the remote you run 'screen' (situated on the remote) which allows you to detach/disconnect and all your processes will keep running as they were, normally logging out of an ssh session would terminate all your child processes.
Old 11-02-2011, 05:14 PM   #3
LQ Newbie
Registered: Nov 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Precisely the answer I was hoping for! Thanks a trillion. I really appreciate it!

Last question: Screen seems like a security risk. Does it preserve everything but the login? That is, when you come back after a few hours do you have to log in or is it leaving the command line open for anyone to molest it.


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] Big picture of wifi on Linux? littlebigman Linux - Networking 2 10-09-2010 02:56 PM
[SOLVED] Big picture of the Linux kernel? littlebigman Linux - Newbie 4 08-14-2010 12:28 PM
Look at the big picture rylangrayston Debian 1 01-30-2009 04:48 PM
How can i operate rtorrent with XMLRPC over ssh? em00guy Linux - Software 0 11-21-2007 08:42 AM
Can't see the big picture BarryRadio Linux - Newbie 23 01-08-2004 07:23 PM > Forums > Linux Forums > Linux - Newbie

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