On a linux server how do you use multiple terminals over a single ssh connection?Is SSH logging capabilities equivalent to su logging for private/public key authentication?SSH sometimes screws up connection when terminal overflows?SSH into remote server using Public-private keysIs it possible to have ssh public key id_dsa.pub stored on a centralized serverHow to allow anyone to access a program through SSHSSH private-public key auth, disable normal password auth, can still login locally?SSH only works after intentionally failed passwordProblems with SSHssh use public-key authenticationConfigure Ubuntu to allow ssh login via pulic/private key and sudo without password

Difference between prepositions in "...killed during/in the war"

Confused with atmospheric pressure equals plastic balloon’s inner pressure

Extracting data from Plot

How far would a landing Airbus A380 go until it stops with no brakes?

A Salute to Poetry

How durable are silver inlays on a blade?

Can the removal of a duty-free sales trolley result in a measurable reduction in emissions?

bash vs. zsh: What are the practical differences?

Why is long-term living in Almost-Earth causing severe health problems?

Oil draining out shortly after turbo hose detached/broke

How and why do references in academic papers work?

How to befriend someone who doesn't like to talk?

What do you call the action of "describing events as they happen" like sports anchors do?

Can you make an identity from this product?

Is it okay to have a sequel start immediately after the end of the first book?

Do you need to let the DM know when you are multiclassing?

Make Gimbap cutter

Proving that a Russian cryptographic standard is too structured

Does the Nuka-Cola bottler actually generate nuka cola?

Why isn't Bash trap working if output is redirected to stdout?

Why did Intel abandon unified CPU cache?

Housemarks (superimposed & combined letters, heraldry)

Why ambiguous grammars are bad?

Diatonic chords of a pentatonic vs blues scale?



On a linux server how do you use multiple terminals over a single ssh connection?


Is SSH logging capabilities equivalent to su logging for private/public key authentication?SSH sometimes screws up connection when terminal overflows?SSH into remote server using Public-private keysIs it possible to have ssh public key id_dsa.pub stored on a centralized serverHow to allow anyone to access a program through SSHSSH private-public key auth, disable normal password auth, can still login locally?SSH only works after intentionally failed passwordProblems with SSHssh use public-key authenticationConfigure Ubuntu to allow ssh login via pulic/private key and sudo without password






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








14















I often find myself opening several ssh connections in order to view several log files at a time with tail -f.



This isn't a problem when I'm at home because I use public key encryption for password-less login. However, I will often use computer at my university to do this so I don't have the option of using my private key. It gets annoying to enter my password 4 or 5 times to get several terminal windows.



How can I get multiple terminals over a single connection?










share|improve this question




























    14















    I often find myself opening several ssh connections in order to view several log files at a time with tail -f.



    This isn't a problem when I'm at home because I use public key encryption for password-less login. However, I will often use computer at my university to do this so I don't have the option of using my private key. It gets annoying to enter my password 4 or 5 times to get several terminal windows.



    How can I get multiple terminals over a single connection?










    share|improve this question
























      14












      14








      14


      5






      I often find myself opening several ssh connections in order to view several log files at a time with tail -f.



      This isn't a problem when I'm at home because I use public key encryption for password-less login. However, I will often use computer at my university to do this so I don't have the option of using my private key. It gets annoying to enter my password 4 or 5 times to get several terminal windows.



      How can I get multiple terminals over a single connection?










      share|improve this question














      I often find myself opening several ssh connections in order to view several log files at a time with tail -f.



      This isn't a problem when I'm at home because I use public key encryption for password-less login. However, I will often use computer at my university to do this so I don't have the option of using my private key. It gets annoying to enter my password 4 or 5 times to get several terminal windows.



      How can I get multiple terminals over a single connection?







      linux ssh






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 1 '09 at 1:47









      epochwolfepochwolf

      399816




      399816




















          9 Answers
          9






          active

          oldest

          votes


















          38














          Just use GNU screen, it's great as you can start up remote sessions and restore them if your connection drops. It's available as a package for most distributions and may even already be installed on your university system.



          The manual will give you all you need to get started, by default all commands are preceeded by Ctrl+A. For example to bring up the onscreen help, just press Ctrl+A then press ?






          share|improve this answer

























          • I have been a linux admin for several years and use screen many, many times a day.

            – borodimer
            May 1 '09 at 5:34











          • No server is complete without screen.

            – Gert M
            May 1 '09 at 7:03






          • 2





            After using screen for the last few hours I can't believe I lived without it! I've spent 5 years Doing It Wrong.

            – epochwolf
            May 1 '09 at 7:29


















          11














          screen allows you to have multiple terminals and more (such as the ability to detach and re-attach to your session).



          Some notes to get you going:



          Ctrl-a c create
          Ctrl-a d detach
          screen -r reattach
          Ctrl-a a toggle
          Ctrl-a " list


          And some recommended reading:



          • http://en.wikipedia.org/wiki/GNU_Screen

          • http://jmcpherson.org/screen.html

          • http://blogamundo.net/code/screen

          • http://www.kuro5hin.org/story/2004/3/9/16838/14935





          share|improve this answer
































            4














            Take a look at the following two articles on SSH connection sharing:



            http://fermiparadox.wordpress.com/2008/06/19/ssh-connection-sharing/
            http://protempore.net/~calvins/howto/ssh-connection-sharing/



            Basically, do a google search on ssh connection sharing and you'll find a bunch of other articles on it.






            share|improve this answer




















            • 1





              Interesting. The one issue is that if my internet connection were to drop I would be unable to reconnect without deleting the socket. If I can't connect how do I get into the server to delete the socket?

              – epochwolf
              May 1 '09 at 5:29











            • You don't have to delete the socket on the server, it's only a client-side sharing. So you run `ssh foo' once and it creates the socket on the same machine you ran the ssh foo command on. The server sees multiple logins on separate ttys, so it doesn't know any different to "normal" separate logins.

              – David Gardner
              May 1 '09 at 12:44


















            3














            Possibly, you could use X forwarding to open multiple remote xterms on your local desktop.






            share|improve this answer























            • Server doesn't have X11 installed. Also, not workable on a windows system that I can't install an X server on.

              – epochwolf
              May 1 '09 at 3:37











            • The Linux server doesn't need to have X11 to run graphical applications that show up on your local desktop. Also, the Cygwin X-Server works great for running things like Firefox from my home Linux box (without X running on my home box) and they show up just fine on my local Windows laptop.

              – shapr
              May 21 '09 at 19:54


















            2














            You give no compelling reason why you can't use private keys from the other systems. Generate them per-machine and add the applicable keys to authorized_hosts



            Still, use screen.






            share|improve this answer























            • Is using a private key on what amounts to a public computer a good idea? Especially considering I didn't put a passphrase on the key?

              – epochwolf
              May 1 '09 at 7:31






            • 1





              You wouldn't use the same key as you use elsewhere - you would generate a new key (with a passphrase) and add its public key to the authorized_keys file on your server. Name it something like "portablekey" and take it out of authorized_keys if you think it might have been compromised.

              – Neall
              May 1 '09 at 11:57


















            2














            You may also want to look at byobu. It's an enhanced version of Screen and I believe it's a Ubuntu project. But it comes standard with Ubuntu 9.10 and newer.



            I tend to still use Screen though by habit but wanted to mention this newer alternative.






            share|improve this answer






























              1














              If all you're using it for is tailing several files, you may also be interested in multitail.






              share|improve this answer

























              • Interesting link. I just mentioned my most common usage. I also need to switch between vim and bash to look up paths for things.

                – epochwolf
                May 1 '09 at 5:27


















              1














              One unmentioned screen feature is to "detach" screen and it will keep running whatever commands you have running in that set of screens. Once screen is detached, you can logout and it all keeps chugging away even after logging off.
              I'll startup screen and then do several c commands to create new 'subscreens'. I can switch between them and start some long running compile or data processing and be assured that my crappy VPN connection won' cause everything to die with it.



              After logging off, you can log back in and use 'screen -R' which will re-attach you to your existing screen sessoins.






              share|improve this answer






























                0














                To use screen with ssh, type



                ssh -t <user>@<server> screen -r


                (source). man ssh:




                -t Force pseudo-terminal allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services. Multiple -t options force tty allocation, even if ssh has no local tty.







                share|improve this answer























                  Your Answer








                  StackExchange.ready(function()
                  var channelOptions =
                  tags: "".split(" "),
                  id: "2"
                  ;
                  initTagRenderer("".split(" "), "".split(" "), channelOptions);

                  StackExchange.using("externalEditor", function()
                  // Have to fire editor after snippets, if snippets enabled
                  if (StackExchange.settings.snippets.snippetsEnabled)
                  StackExchange.using("snippets", function()
                  createEditor();
                  );

                  else
                  createEditor();

                  );

                  function createEditor()
                  StackExchange.prepareEditor(
                  heartbeatType: 'answer',
                  autoActivateHeartbeat: false,
                  convertImagesToLinks: true,
                  noModals: true,
                  showLowRepImageUploadWarning: true,
                  reputationToPostImages: 10,
                  bindNavPrevention: true,
                  postfix: "",
                  imageUploader:
                  brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                  contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                  allowUrls: true
                  ,
                  onDemand: true,
                  discardSelector: ".discard-answer"
                  ,immediatelyShowMarkdownHelp:true
                  );



                  );













                  draft saved

                  draft discarded


















                  StackExchange.ready(
                  function ()
                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f2016%2fon-a-linux-server-how-do-you-use-multiple-terminals-over-a-single-ssh-connection%23new-answer', 'question_page');

                  );

                  Post as a guest















                  Required, but never shown

























                  9 Answers
                  9






                  active

                  oldest

                  votes








                  9 Answers
                  9






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  38














                  Just use GNU screen, it's great as you can start up remote sessions and restore them if your connection drops. It's available as a package for most distributions and may even already be installed on your university system.



                  The manual will give you all you need to get started, by default all commands are preceeded by Ctrl+A. For example to bring up the onscreen help, just press Ctrl+A then press ?






                  share|improve this answer

























                  • I have been a linux admin for several years and use screen many, many times a day.

                    – borodimer
                    May 1 '09 at 5:34











                  • No server is complete without screen.

                    – Gert M
                    May 1 '09 at 7:03






                  • 2





                    After using screen for the last few hours I can't believe I lived without it! I've spent 5 years Doing It Wrong.

                    – epochwolf
                    May 1 '09 at 7:29















                  38














                  Just use GNU screen, it's great as you can start up remote sessions and restore them if your connection drops. It's available as a package for most distributions and may even already be installed on your university system.



                  The manual will give you all you need to get started, by default all commands are preceeded by Ctrl+A. For example to bring up the onscreen help, just press Ctrl+A then press ?






                  share|improve this answer

























                  • I have been a linux admin for several years and use screen many, many times a day.

                    – borodimer
                    May 1 '09 at 5:34











                  • No server is complete without screen.

                    – Gert M
                    May 1 '09 at 7:03






                  • 2





                    After using screen for the last few hours I can't believe I lived without it! I've spent 5 years Doing It Wrong.

                    – epochwolf
                    May 1 '09 at 7:29













                  38












                  38








                  38







                  Just use GNU screen, it's great as you can start up remote sessions and restore them if your connection drops. It's available as a package for most distributions and may even already be installed on your university system.



                  The manual will give you all you need to get started, by default all commands are preceeded by Ctrl+A. For example to bring up the onscreen help, just press Ctrl+A then press ?






                  share|improve this answer















                  Just use GNU screen, it's great as you can start up remote sessions and restore them if your connection drops. It's available as a package for most distributions and may even already be installed on your university system.



                  The manual will give you all you need to get started, by default all commands are preceeded by Ctrl+A. For example to bring up the onscreen help, just press Ctrl+A then press ?







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited May 1 '09 at 2:38

























                  answered May 1 '09 at 1:55









                  saschabeaumontsaschabeaumont

                  2,7641914




                  2,7641914












                  • I have been a linux admin for several years and use screen many, many times a day.

                    – borodimer
                    May 1 '09 at 5:34











                  • No server is complete without screen.

                    – Gert M
                    May 1 '09 at 7:03






                  • 2





                    After using screen for the last few hours I can't believe I lived without it! I've spent 5 years Doing It Wrong.

                    – epochwolf
                    May 1 '09 at 7:29

















                  • I have been a linux admin for several years and use screen many, many times a day.

                    – borodimer
                    May 1 '09 at 5:34











                  • No server is complete without screen.

                    – Gert M
                    May 1 '09 at 7:03






                  • 2





                    After using screen for the last few hours I can't believe I lived without it! I've spent 5 years Doing It Wrong.

                    – epochwolf
                    May 1 '09 at 7:29
















                  I have been a linux admin for several years and use screen many, many times a day.

                  – borodimer
                  May 1 '09 at 5:34





                  I have been a linux admin for several years and use screen many, many times a day.

                  – borodimer
                  May 1 '09 at 5:34













                  No server is complete without screen.

                  – Gert M
                  May 1 '09 at 7:03





                  No server is complete without screen.

                  – Gert M
                  May 1 '09 at 7:03




                  2




                  2





                  After using screen for the last few hours I can't believe I lived without it! I've spent 5 years Doing It Wrong.

                  – epochwolf
                  May 1 '09 at 7:29





                  After using screen for the last few hours I can't believe I lived without it! I've spent 5 years Doing It Wrong.

                  – epochwolf
                  May 1 '09 at 7:29













                  11














                  screen allows you to have multiple terminals and more (such as the ability to detach and re-attach to your session).



                  Some notes to get you going:



                  Ctrl-a c create
                  Ctrl-a d detach
                  screen -r reattach
                  Ctrl-a a toggle
                  Ctrl-a " list


                  And some recommended reading:



                  • http://en.wikipedia.org/wiki/GNU_Screen

                  • http://jmcpherson.org/screen.html

                  • http://blogamundo.net/code/screen

                  • http://www.kuro5hin.org/story/2004/3/9/16838/14935





                  share|improve this answer





























                    11














                    screen allows you to have multiple terminals and more (such as the ability to detach and re-attach to your session).



                    Some notes to get you going:



                    Ctrl-a c create
                    Ctrl-a d detach
                    screen -r reattach
                    Ctrl-a a toggle
                    Ctrl-a " list


                    And some recommended reading:



                    • http://en.wikipedia.org/wiki/GNU_Screen

                    • http://jmcpherson.org/screen.html

                    • http://blogamundo.net/code/screen

                    • http://www.kuro5hin.org/story/2004/3/9/16838/14935





                    share|improve this answer



























                      11












                      11








                      11







                      screen allows you to have multiple terminals and more (such as the ability to detach and re-attach to your session).



                      Some notes to get you going:



                      Ctrl-a c create
                      Ctrl-a d detach
                      screen -r reattach
                      Ctrl-a a toggle
                      Ctrl-a " list


                      And some recommended reading:



                      • http://en.wikipedia.org/wiki/GNU_Screen

                      • http://jmcpherson.org/screen.html

                      • http://blogamundo.net/code/screen

                      • http://www.kuro5hin.org/story/2004/3/9/16838/14935





                      share|improve this answer















                      screen allows you to have multiple terminals and more (such as the ability to detach and re-attach to your session).



                      Some notes to get you going:



                      Ctrl-a c create
                      Ctrl-a d detach
                      screen -r reattach
                      Ctrl-a a toggle
                      Ctrl-a " list


                      And some recommended reading:



                      • http://en.wikipedia.org/wiki/GNU_Screen

                      • http://jmcpherson.org/screen.html

                      • http://blogamundo.net/code/screen

                      • http://www.kuro5hin.org/story/2004/3/9/16838/14935






                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited May 2 '09 at 3:23

























                      answered May 1 '09 at 2:03









                      Philip DurbinPhilip Durbin

                      89121023




                      89121023





















                          4














                          Take a look at the following two articles on SSH connection sharing:



                          http://fermiparadox.wordpress.com/2008/06/19/ssh-connection-sharing/
                          http://protempore.net/~calvins/howto/ssh-connection-sharing/



                          Basically, do a google search on ssh connection sharing and you'll find a bunch of other articles on it.






                          share|improve this answer




















                          • 1





                            Interesting. The one issue is that if my internet connection were to drop I would be unable to reconnect without deleting the socket. If I can't connect how do I get into the server to delete the socket?

                            – epochwolf
                            May 1 '09 at 5:29











                          • You don't have to delete the socket on the server, it's only a client-side sharing. So you run `ssh foo' once and it creates the socket on the same machine you ran the ssh foo command on. The server sees multiple logins on separate ttys, so it doesn't know any different to "normal" separate logins.

                            – David Gardner
                            May 1 '09 at 12:44















                          4














                          Take a look at the following two articles on SSH connection sharing:



                          http://fermiparadox.wordpress.com/2008/06/19/ssh-connection-sharing/
                          http://protempore.net/~calvins/howto/ssh-connection-sharing/



                          Basically, do a google search on ssh connection sharing and you'll find a bunch of other articles on it.






                          share|improve this answer




















                          • 1





                            Interesting. The one issue is that if my internet connection were to drop I would be unable to reconnect without deleting the socket. If I can't connect how do I get into the server to delete the socket?

                            – epochwolf
                            May 1 '09 at 5:29











                          • You don't have to delete the socket on the server, it's only a client-side sharing. So you run `ssh foo' once and it creates the socket on the same machine you ran the ssh foo command on. The server sees multiple logins on separate ttys, so it doesn't know any different to "normal" separate logins.

                            – David Gardner
                            May 1 '09 at 12:44













                          4












                          4








                          4







                          Take a look at the following two articles on SSH connection sharing:



                          http://fermiparadox.wordpress.com/2008/06/19/ssh-connection-sharing/
                          http://protempore.net/~calvins/howto/ssh-connection-sharing/



                          Basically, do a google search on ssh connection sharing and you'll find a bunch of other articles on it.






                          share|improve this answer















                          Take a look at the following two articles on SSH connection sharing:



                          http://fermiparadox.wordpress.com/2008/06/19/ssh-connection-sharing/
                          http://protempore.net/~calvins/howto/ssh-connection-sharing/



                          Basically, do a google search on ssh connection sharing and you'll find a bunch of other articles on it.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Mar 22 '10 at 2:07

























                          answered May 1 '09 at 2:25









                          EvanEvan

                          339135




                          339135







                          • 1





                            Interesting. The one issue is that if my internet connection were to drop I would be unable to reconnect without deleting the socket. If I can't connect how do I get into the server to delete the socket?

                            – epochwolf
                            May 1 '09 at 5:29











                          • You don't have to delete the socket on the server, it's only a client-side sharing. So you run `ssh foo' once and it creates the socket on the same machine you ran the ssh foo command on. The server sees multiple logins on separate ttys, so it doesn't know any different to "normal" separate logins.

                            – David Gardner
                            May 1 '09 at 12:44












                          • 1





                            Interesting. The one issue is that if my internet connection were to drop I would be unable to reconnect without deleting the socket. If I can't connect how do I get into the server to delete the socket?

                            – epochwolf
                            May 1 '09 at 5:29











                          • You don't have to delete the socket on the server, it's only a client-side sharing. So you run `ssh foo' once and it creates the socket on the same machine you ran the ssh foo command on. The server sees multiple logins on separate ttys, so it doesn't know any different to "normal" separate logins.

                            – David Gardner
                            May 1 '09 at 12:44







                          1




                          1





                          Interesting. The one issue is that if my internet connection were to drop I would be unable to reconnect without deleting the socket. If I can't connect how do I get into the server to delete the socket?

                          – epochwolf
                          May 1 '09 at 5:29





                          Interesting. The one issue is that if my internet connection were to drop I would be unable to reconnect without deleting the socket. If I can't connect how do I get into the server to delete the socket?

                          – epochwolf
                          May 1 '09 at 5:29













                          You don't have to delete the socket on the server, it's only a client-side sharing. So you run `ssh foo' once and it creates the socket on the same machine you ran the ssh foo command on. The server sees multiple logins on separate ttys, so it doesn't know any different to "normal" separate logins.

                          – David Gardner
                          May 1 '09 at 12:44





                          You don't have to delete the socket on the server, it's only a client-side sharing. So you run `ssh foo' once and it creates the socket on the same machine you ran the ssh foo command on. The server sees multiple logins on separate ttys, so it doesn't know any different to "normal" separate logins.

                          – David Gardner
                          May 1 '09 at 12:44











                          3














                          Possibly, you could use X forwarding to open multiple remote xterms on your local desktop.






                          share|improve this answer























                          • Server doesn't have X11 installed. Also, not workable on a windows system that I can't install an X server on.

                            – epochwolf
                            May 1 '09 at 3:37











                          • The Linux server doesn't need to have X11 to run graphical applications that show up on your local desktop. Also, the Cygwin X-Server works great for running things like Firefox from my home Linux box (without X running on my home box) and they show up just fine on my local Windows laptop.

                            – shapr
                            May 21 '09 at 19:54















                          3














                          Possibly, you could use X forwarding to open multiple remote xterms on your local desktop.






                          share|improve this answer























                          • Server doesn't have X11 installed. Also, not workable on a windows system that I can't install an X server on.

                            – epochwolf
                            May 1 '09 at 3:37











                          • The Linux server doesn't need to have X11 to run graphical applications that show up on your local desktop. Also, the Cygwin X-Server works great for running things like Firefox from my home Linux box (without X running on my home box) and they show up just fine on my local Windows laptop.

                            – shapr
                            May 21 '09 at 19:54













                          3












                          3








                          3







                          Possibly, you could use X forwarding to open multiple remote xterms on your local desktop.






                          share|improve this answer













                          Possibly, you could use X forwarding to open multiple remote xterms on your local desktop.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered May 1 '09 at 1:59









                          John FouhyJohn Fouhy

                          1,04974




                          1,04974












                          • Server doesn't have X11 installed. Also, not workable on a windows system that I can't install an X server on.

                            – epochwolf
                            May 1 '09 at 3:37











                          • The Linux server doesn't need to have X11 to run graphical applications that show up on your local desktop. Also, the Cygwin X-Server works great for running things like Firefox from my home Linux box (without X running on my home box) and they show up just fine on my local Windows laptop.

                            – shapr
                            May 21 '09 at 19:54

















                          • Server doesn't have X11 installed. Also, not workable on a windows system that I can't install an X server on.

                            – epochwolf
                            May 1 '09 at 3:37











                          • The Linux server doesn't need to have X11 to run graphical applications that show up on your local desktop. Also, the Cygwin X-Server works great for running things like Firefox from my home Linux box (without X running on my home box) and they show up just fine on my local Windows laptop.

                            – shapr
                            May 21 '09 at 19:54
















                          Server doesn't have X11 installed. Also, not workable on a windows system that I can't install an X server on.

                          – epochwolf
                          May 1 '09 at 3:37





                          Server doesn't have X11 installed. Also, not workable on a windows system that I can't install an X server on.

                          – epochwolf
                          May 1 '09 at 3:37













                          The Linux server doesn't need to have X11 to run graphical applications that show up on your local desktop. Also, the Cygwin X-Server works great for running things like Firefox from my home Linux box (without X running on my home box) and they show up just fine on my local Windows laptop.

                          – shapr
                          May 21 '09 at 19:54





                          The Linux server doesn't need to have X11 to run graphical applications that show up on your local desktop. Also, the Cygwin X-Server works great for running things like Firefox from my home Linux box (without X running on my home box) and they show up just fine on my local Windows laptop.

                          – shapr
                          May 21 '09 at 19:54











                          2














                          You give no compelling reason why you can't use private keys from the other systems. Generate them per-machine and add the applicable keys to authorized_hosts



                          Still, use screen.






                          share|improve this answer























                          • Is using a private key on what amounts to a public computer a good idea? Especially considering I didn't put a passphrase on the key?

                            – epochwolf
                            May 1 '09 at 7:31






                          • 1





                            You wouldn't use the same key as you use elsewhere - you would generate a new key (with a passphrase) and add its public key to the authorized_keys file on your server. Name it something like "portablekey" and take it out of authorized_keys if you think it might have been compromised.

                            – Neall
                            May 1 '09 at 11:57















                          2














                          You give no compelling reason why you can't use private keys from the other systems. Generate them per-machine and add the applicable keys to authorized_hosts



                          Still, use screen.






                          share|improve this answer























                          • Is using a private key on what amounts to a public computer a good idea? Especially considering I didn't put a passphrase on the key?

                            – epochwolf
                            May 1 '09 at 7:31






                          • 1





                            You wouldn't use the same key as you use elsewhere - you would generate a new key (with a passphrase) and add its public key to the authorized_keys file on your server. Name it something like "portablekey" and take it out of authorized_keys if you think it might have been compromised.

                            – Neall
                            May 1 '09 at 11:57













                          2












                          2








                          2







                          You give no compelling reason why you can't use private keys from the other systems. Generate them per-machine and add the applicable keys to authorized_hosts



                          Still, use screen.






                          share|improve this answer













                          You give no compelling reason why you can't use private keys from the other systems. Generate them per-machine and add the applicable keys to authorized_hosts



                          Still, use screen.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered May 1 '09 at 2:28









                          ironfroggyironfroggy

                          12923




                          12923












                          • Is using a private key on what amounts to a public computer a good idea? Especially considering I didn't put a passphrase on the key?

                            – epochwolf
                            May 1 '09 at 7:31






                          • 1





                            You wouldn't use the same key as you use elsewhere - you would generate a new key (with a passphrase) and add its public key to the authorized_keys file on your server. Name it something like "portablekey" and take it out of authorized_keys if you think it might have been compromised.

                            – Neall
                            May 1 '09 at 11:57

















                          • Is using a private key on what amounts to a public computer a good idea? Especially considering I didn't put a passphrase on the key?

                            – epochwolf
                            May 1 '09 at 7:31






                          • 1





                            You wouldn't use the same key as you use elsewhere - you would generate a new key (with a passphrase) and add its public key to the authorized_keys file on your server. Name it something like "portablekey" and take it out of authorized_keys if you think it might have been compromised.

                            – Neall
                            May 1 '09 at 11:57
















                          Is using a private key on what amounts to a public computer a good idea? Especially considering I didn't put a passphrase on the key?

                          – epochwolf
                          May 1 '09 at 7:31





                          Is using a private key on what amounts to a public computer a good idea? Especially considering I didn't put a passphrase on the key?

                          – epochwolf
                          May 1 '09 at 7:31




                          1




                          1





                          You wouldn't use the same key as you use elsewhere - you would generate a new key (with a passphrase) and add its public key to the authorized_keys file on your server. Name it something like "portablekey" and take it out of authorized_keys if you think it might have been compromised.

                          – Neall
                          May 1 '09 at 11:57





                          You wouldn't use the same key as you use elsewhere - you would generate a new key (with a passphrase) and add its public key to the authorized_keys file on your server. Name it something like "portablekey" and take it out of authorized_keys if you think it might have been compromised.

                          – Neall
                          May 1 '09 at 11:57











                          2














                          You may also want to look at byobu. It's an enhanced version of Screen and I believe it's a Ubuntu project. But it comes standard with Ubuntu 9.10 and newer.



                          I tend to still use Screen though by habit but wanted to mention this newer alternative.






                          share|improve this answer



























                            2














                            You may also want to look at byobu. It's an enhanced version of Screen and I believe it's a Ubuntu project. But it comes standard with Ubuntu 9.10 and newer.



                            I tend to still use Screen though by habit but wanted to mention this newer alternative.






                            share|improve this answer

























                              2












                              2








                              2







                              You may also want to look at byobu. It's an enhanced version of Screen and I believe it's a Ubuntu project. But it comes standard with Ubuntu 9.10 and newer.



                              I tend to still use Screen though by habit but wanted to mention this newer alternative.






                              share|improve this answer













                              You may also want to look at byobu. It's an enhanced version of Screen and I believe it's a Ubuntu project. But it comes standard with Ubuntu 9.10 and newer.



                              I tend to still use Screen though by habit but wanted to mention this newer alternative.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Mar 20 '10 at 23:54









                              3dinfluence3dinfluence

                              12k12238




                              12k12238





















                                  1














                                  If all you're using it for is tailing several files, you may also be interested in multitail.






                                  share|improve this answer

























                                  • Interesting link. I just mentioned my most common usage. I also need to switch between vim and bash to look up paths for things.

                                    – epochwolf
                                    May 1 '09 at 5:27















                                  1














                                  If all you're using it for is tailing several files, you may also be interested in multitail.






                                  share|improve this answer

























                                  • Interesting link. I just mentioned my most common usage. I also need to switch between vim and bash to look up paths for things.

                                    – epochwolf
                                    May 1 '09 at 5:27













                                  1












                                  1








                                  1







                                  If all you're using it for is tailing several files, you may also be interested in multitail.






                                  share|improve this answer















                                  If all you're using it for is tailing several files, you may also be interested in multitail.







                                  share|improve this answer














                                  share|improve this answer



                                  share|improve this answer








                                  edited Mar 20 '10 at 23:13









                                  Dennis Williamson

                                  51.4k1193132




                                  51.4k1193132










                                  answered May 1 '09 at 4:16









                                  EvanEvan

                                  339135




                                  339135












                                  • Interesting link. I just mentioned my most common usage. I also need to switch between vim and bash to look up paths for things.

                                    – epochwolf
                                    May 1 '09 at 5:27

















                                  • Interesting link. I just mentioned my most common usage. I also need to switch between vim and bash to look up paths for things.

                                    – epochwolf
                                    May 1 '09 at 5:27
















                                  Interesting link. I just mentioned my most common usage. I also need to switch between vim and bash to look up paths for things.

                                  – epochwolf
                                  May 1 '09 at 5:27





                                  Interesting link. I just mentioned my most common usage. I also need to switch between vim and bash to look up paths for things.

                                  – epochwolf
                                  May 1 '09 at 5:27











                                  1














                                  One unmentioned screen feature is to "detach" screen and it will keep running whatever commands you have running in that set of screens. Once screen is detached, you can logout and it all keeps chugging away even after logging off.
                                  I'll startup screen and then do several c commands to create new 'subscreens'. I can switch between them and start some long running compile or data processing and be assured that my crappy VPN connection won' cause everything to die with it.



                                  After logging off, you can log back in and use 'screen -R' which will re-attach you to your existing screen sessoins.






                                  share|improve this answer



























                                    1














                                    One unmentioned screen feature is to "detach" screen and it will keep running whatever commands you have running in that set of screens. Once screen is detached, you can logout and it all keeps chugging away even after logging off.
                                    I'll startup screen and then do several c commands to create new 'subscreens'. I can switch between them and start some long running compile or data processing and be assured that my crappy VPN connection won' cause everything to die with it.



                                    After logging off, you can log back in and use 'screen -R' which will re-attach you to your existing screen sessoins.






                                    share|improve this answer

























                                      1












                                      1








                                      1







                                      One unmentioned screen feature is to "detach" screen and it will keep running whatever commands you have running in that set of screens. Once screen is detached, you can logout and it all keeps chugging away even after logging off.
                                      I'll startup screen and then do several c commands to create new 'subscreens'. I can switch between them and start some long running compile or data processing and be assured that my crappy VPN connection won' cause everything to die with it.



                                      After logging off, you can log back in and use 'screen -R' which will re-attach you to your existing screen sessoins.






                                      share|improve this answer













                                      One unmentioned screen feature is to "detach" screen and it will keep running whatever commands you have running in that set of screens. Once screen is detached, you can logout and it all keeps chugging away even after logging off.
                                      I'll startup screen and then do several c commands to create new 'subscreens'. I can switch between them and start some long running compile or data processing and be assured that my crappy VPN connection won' cause everything to die with it.



                                      After logging off, you can log back in and use 'screen -R' which will re-attach you to your existing screen sessoins.







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Mar 22 '10 at 6:23









                                      Paul LeclercPaul Leclerc

                                      412




                                      412





















                                          0














                                          To use screen with ssh, type



                                          ssh -t <user>@<server> screen -r


                                          (source). man ssh:




                                          -t Force pseudo-terminal allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services. Multiple -t options force tty allocation, even if ssh has no local tty.







                                          share|improve this answer



























                                            0














                                            To use screen with ssh, type



                                            ssh -t <user>@<server> screen -r


                                            (source). man ssh:




                                            -t Force pseudo-terminal allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services. Multiple -t options force tty allocation, even if ssh has no local tty.







                                            share|improve this answer

























                                              0












                                              0








                                              0







                                              To use screen with ssh, type



                                              ssh -t <user>@<server> screen -r


                                              (source). man ssh:




                                              -t Force pseudo-terminal allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services. Multiple -t options force tty allocation, even if ssh has no local tty.







                                              share|improve this answer













                                              To use screen with ssh, type



                                              ssh -t <user>@<server> screen -r


                                              (source). man ssh:




                                              -t Force pseudo-terminal allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services. Multiple -t options force tty allocation, even if ssh has no local tty.








                                              share|improve this answer












                                              share|improve this answer



                                              share|improve this answer










                                              answered May 27 at 5:25









                                              Yaroslav NikitenkoYaroslav Nikitenko

                                              501410




                                              501410



























                                                  draft saved

                                                  draft discarded
















































                                                  Thanks for contributing an answer to Server Fault!


                                                  • Please be sure to answer the question. Provide details and share your research!

                                                  But avoid


                                                  • Asking for help, clarification, or responding to other answers.

                                                  • Making statements based on opinion; back them up with references or personal experience.

                                                  To learn more, see our tips on writing great answers.




                                                  draft saved


                                                  draft discarded














                                                  StackExchange.ready(
                                                  function ()
                                                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f2016%2fon-a-linux-server-how-do-you-use-multiple-terminals-over-a-single-ssh-connection%23new-answer', 'question_page');

                                                  );

                                                  Post as a guest















                                                  Required, but never shown





















































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown

































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown







                                                  Popular posts from this blog

                                                  Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                                                  Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

                                                  Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020