views:

123

answers:

5

How can I have another Terminal open when I am at my server by ssh?

I do not want to type my password twice to get another terminal for my server.

Perhaps, Bash has buffers similarly as Vim.

+5  A: 

Check out GNU screen. It's kind of arcane and awkward to use, but does what you're looking for, and it's probably also installed on your server.

You can also forward X11 and run multiple xterm instances, but that's a pain.

Your best bet, though, is your proverbial "type my password every time" solution: you should set up SSH keys so you don't need to type your password every time and then just use multiple connections in Terminal tabs.

Jim Puls
+3  A: 

You can use something like GNU Screen.

Andrew Flanagan
+1  A: 

It's possible to use screen to open other terminals without needing to authenticate again.

Screen can also detach so that you can leave terminal open after logging out and re-attach them later. I use this on my home server for keeping rtorrent open.

Ben S
+1  A: 

GNU Screen

BTW. If you don't like typing passwords, try PK auth. How it's done with PuTTy.

vartec
+2  A: 

The Bash shell has a feature called Job Control that allows you to run and manage multiple processes. You can read about it here: http://commandlinemac.blogspot.com/2008/12/bash-job-control-fg-bg-jobs-and-ctrl-z.html

Harold