Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trialing a ubuntu server 12.04 LTS to replace a Windows Server that I use but I have got a little stuck with SSH

I'm currently able to SSH into the server but I need to have multiple persistent SSH connections as I have at least 3 applications that need to run in the server and still be able to access their terminals to issue commands to the applications. At the moment this is fine if I use the physical terminals of the machine as I can just jump between the three terminals I use but remotely doing this is the issue.

As I'm not entirely familiar with this side of linux I'm not sure if this is even possible to do or how to even get around this issue.

EDIT : I should also add that if the SSH connection is disconnected I should be able to re open that connection and with the other two which I think will be the biggest problem with doing this?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Using the tmux or GNU Screen terminal multiplexers will allow you do disconnect/reconnect from/to remote ssh terminal sessions. Byobu is an excellent enhancement on top of the previous two. The remote sessions can have multiple terminals open simultaneously and can also be named, so you can have has many as you like.

share|improve this answer
    
Awesome that was so much easier than I had expected. Thanks for that. –  Craig Smith Nov 6 '12 at 5:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.