OpenSSH Server for Windows 10 - Could not enter anything in Ubuntu terminal launched from cmd / powershell...

What is the word for reserving something for yourself before others do?

Today is the Center

Modeling an IP Address

Languages that we cannot (dis)prove to be Context-Free

Should the isomorphism theorems be seen as an "interface" between algebra and category theory?

Alternative to sending password over mail?

How much of data wrangling is a data scientist's job?

Has there ever been an airliner design involving reducing generator load by installing solar panels?

Can you really stack all of this on an Opportunity Attack?

Watching something be written to a file live with tail

Why doesn't a class having private constructor prevent inheriting from this class? How to control which classes can inherit from a certain base?

Does detail obscure or enhance action?

Codimension of non-flat locus

Is it inappropriate for a student to attend their mentor's dissertation defense?

Is it possible to run Internet Explorer on OS X El Capitan?

Why is 150k or 200k jobs considered good when there's 300k+ births a month?

How much RAM could one put in a typical 80386 setup?

Approximately how much travel time was saved by the opening of the Suez Canal in 1869?

How old can references or sources in a thesis be?

Could an aircraft fly or hover using only jets of compressed air?

Why are electrically insulating heatsinks so rare? Is it just cost?

Is it unprofessional to ask if a job posting on GlassDoor is real?

Why is consensus so controversial in Britain?

dbcc cleantable batch size explanation



OpenSSH Server for Windows 10 - Could not enter anything in Ubuntu terminal launched from cmd / powershell SSH session


SSH session becomes unresponsive when logged into Ubuntu Server virtual machine using VirtualBoxOpenSSH (Windows) to SSH (Linux) key auth not workingSSH from Windows (Putty) to Ubuntu via HTTPSInstalling Open SSH Client Beta on Windows 10 (failure 0x800F0950)How to use SSH on Windows 10 Home EditionHow could I access my windows PC's Git Bash from Linux Terminalsftp from Windows-10-v-1803 into WSL Ubuntu-18.04 ssh-server… won't connectSSH connection from linux to windows serverMobaSSH Server for ssh connection to Windows PC






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







1















Would like to seek for advice for an issue regarding Windows 10's new OpenSSH feature.



Firstly, I have installed the "ubuntu" from Windows Store following the support of Windows Subsystem for Linux. It functioned properly, ubuntu could by launched successfully from either cmd or powershell sessions locally (just type "ubuntu").



(Reference:
https://docs.microsoft.com/en-us/windows/wsl/install-win10 )



Then I installed "OpenSSH Server (beta)". After some setup, from another device I could SSH into the Windows machine, and it showed command prompt (cmd) as default. I could open a powershell session by just typing "powershell".



However, I could not launch ubuntu from neither cmd nor powershell in the SSH session. In either case, after I enter "ubuntu", it just loads a while and ended with nothing happened.



May I know if there are additional setup required to launch linux shell from cmd/powershell in Win 10 SSH? Would also like to see if there is a way to change the default terminal type (cmd/powershell/ubuntu etc.) upon SSH login , thanks!



(Reference:
https://blogs.msdn.microsoft.com/powershell/2017/12/15/using-the-openssh-beta-in-windows-10-fall-creators-update-and-windows-server-1709/ https://www.bleepingcomputer.com/news/microsoft/how-to-install-the-built-in-windows-10-openssh-server/)



========== UPDATE (25 Apr 2018) ==========



After following the guidlines below to set the local launch and activation rights, I managed to get ubuntu launchable from a SSH cmd session.



(Reference:
https://adrift.io/2017/10/11/windows-subsystem-for-linux-error-0x80070005-access-denied/)



I could see the bash shell is launched. However, I could not type in anything in the terminal. It looked as if the cursor is freezed.



bash shell freezes



No error is observed in the Windows event viewer.



Kindly see if you have any ideas on this, thanks.










share|improve this question































    1















    Would like to seek for advice for an issue regarding Windows 10's new OpenSSH feature.



    Firstly, I have installed the "ubuntu" from Windows Store following the support of Windows Subsystem for Linux. It functioned properly, ubuntu could by launched successfully from either cmd or powershell sessions locally (just type "ubuntu").



    (Reference:
    https://docs.microsoft.com/en-us/windows/wsl/install-win10 )



    Then I installed "OpenSSH Server (beta)". After some setup, from another device I could SSH into the Windows machine, and it showed command prompt (cmd) as default. I could open a powershell session by just typing "powershell".



    However, I could not launch ubuntu from neither cmd nor powershell in the SSH session. In either case, after I enter "ubuntu", it just loads a while and ended with nothing happened.



    May I know if there are additional setup required to launch linux shell from cmd/powershell in Win 10 SSH? Would also like to see if there is a way to change the default terminal type (cmd/powershell/ubuntu etc.) upon SSH login , thanks!



    (Reference:
    https://blogs.msdn.microsoft.com/powershell/2017/12/15/using-the-openssh-beta-in-windows-10-fall-creators-update-and-windows-server-1709/ https://www.bleepingcomputer.com/news/microsoft/how-to-install-the-built-in-windows-10-openssh-server/)



    ========== UPDATE (25 Apr 2018) ==========



    After following the guidlines below to set the local launch and activation rights, I managed to get ubuntu launchable from a SSH cmd session.



    (Reference:
    https://adrift.io/2017/10/11/windows-subsystem-for-linux-error-0x80070005-access-denied/)



    I could see the bash shell is launched. However, I could not type in anything in the terminal. It looked as if the cursor is freezed.



    bash shell freezes



    No error is observed in the Windows event viewer.



    Kindly see if you have any ideas on this, thanks.










    share|improve this question



























      1












      1








      1








      Would like to seek for advice for an issue regarding Windows 10's new OpenSSH feature.



      Firstly, I have installed the "ubuntu" from Windows Store following the support of Windows Subsystem for Linux. It functioned properly, ubuntu could by launched successfully from either cmd or powershell sessions locally (just type "ubuntu").



      (Reference:
      https://docs.microsoft.com/en-us/windows/wsl/install-win10 )



      Then I installed "OpenSSH Server (beta)". After some setup, from another device I could SSH into the Windows machine, and it showed command prompt (cmd) as default. I could open a powershell session by just typing "powershell".



      However, I could not launch ubuntu from neither cmd nor powershell in the SSH session. In either case, after I enter "ubuntu", it just loads a while and ended with nothing happened.



      May I know if there are additional setup required to launch linux shell from cmd/powershell in Win 10 SSH? Would also like to see if there is a way to change the default terminal type (cmd/powershell/ubuntu etc.) upon SSH login , thanks!



      (Reference:
      https://blogs.msdn.microsoft.com/powershell/2017/12/15/using-the-openssh-beta-in-windows-10-fall-creators-update-and-windows-server-1709/ https://www.bleepingcomputer.com/news/microsoft/how-to-install-the-built-in-windows-10-openssh-server/)



      ========== UPDATE (25 Apr 2018) ==========



      After following the guidlines below to set the local launch and activation rights, I managed to get ubuntu launchable from a SSH cmd session.



      (Reference:
      https://adrift.io/2017/10/11/windows-subsystem-for-linux-error-0x80070005-access-denied/)



      I could see the bash shell is launched. However, I could not type in anything in the terminal. It looked as if the cursor is freezed.



      bash shell freezes



      No error is observed in the Windows event viewer.



      Kindly see if you have any ideas on this, thanks.










      share|improve this question
















      Would like to seek for advice for an issue regarding Windows 10's new OpenSSH feature.



      Firstly, I have installed the "ubuntu" from Windows Store following the support of Windows Subsystem for Linux. It functioned properly, ubuntu could by launched successfully from either cmd or powershell sessions locally (just type "ubuntu").



      (Reference:
      https://docs.microsoft.com/en-us/windows/wsl/install-win10 )



      Then I installed "OpenSSH Server (beta)". After some setup, from another device I could SSH into the Windows machine, and it showed command prompt (cmd) as default. I could open a powershell session by just typing "powershell".



      However, I could not launch ubuntu from neither cmd nor powershell in the SSH session. In either case, after I enter "ubuntu", it just loads a while and ended with nothing happened.



      May I know if there are additional setup required to launch linux shell from cmd/powershell in Win 10 SSH? Would also like to see if there is a way to change the default terminal type (cmd/powershell/ubuntu etc.) upon SSH login , thanks!



      (Reference:
      https://blogs.msdn.microsoft.com/powershell/2017/12/15/using-the-openssh-beta-in-windows-10-fall-creators-update-and-windows-server-1709/ https://www.bleepingcomputer.com/news/microsoft/how-to-install-the-built-in-windows-10-openssh-server/)



      ========== UPDATE (25 Apr 2018) ==========



      After following the guidlines below to set the local launch and activation rights, I managed to get ubuntu launchable from a SSH cmd session.



      (Reference:
      https://adrift.io/2017/10/11/windows-subsystem-for-linux-error-0x80070005-access-denied/)



      I could see the bash shell is launched. However, I could not type in anything in the terminal. It looked as if the cursor is freezed.



      bash shell freezes



      No error is observed in the Windows event viewer.



      Kindly see if you have any ideas on this, thanks.







      windows-10 ubuntu ssh powershell openssh






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 25 '18 at 11:43







      Patrick C.

















      asked Apr 22 '18 at 23:52









      Patrick C.Patrick C.

      1062




      1062






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Would like to update here that the issue miraculously got solved after the ubuntu self-update (checked on 25 May 2018).



          Ubuntu_launchable_from_SSH-CMDandPOWERSHELL



          Not sure if it is some fix performed there, but ubuntu could be launched from CMD and POWERSHELL in SSH session now. Hope others having similar issues can get it working as well. Cheers.






          share|improve this answer































            0














            For launching Ubuntu on WSL, you will need to Invoke it from Windows CMD/PS by just typing "wsl" (without the quotes). It will then directly take you to the Ubuntu bash prompt on WSL by default. Invoking with command "ubuntu" is no longer supported.



            SSH Into Windows localhost



            Inside Windows CMD after SSH into localhost



            Getting Into Ubuntu on WSl from Windows CMD



            For coming out of the nested sessions, you will just need to type exit in each respective session.



            What you cannot do as of date is launch wsl while doing SSH to localhost, using the commands:



            PS> ssh bahree@localhost "wsl"
            C:UsersBahree> ssh bahree@localhost "wsl"


            This may have been deliberately prevented by WSL folks, owing to some issues they might have anticipated/tested.



            However, the following commands are legit and work as expected:



            PS> ssh bahree@localhost "powershell"
            PS> ssh bahree@localhost "cmd"
            C:UsersBahree> ssh bahree@localhost "powershell"


            HTH






            share|improve this answer
























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              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%2fsuperuser.com%2fquestions%2f1316309%2fopenssh-server-for-windows-10-could-not-enter-anything-in-ubuntu-terminal-laun%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              Would like to update here that the issue miraculously got solved after the ubuntu self-update (checked on 25 May 2018).



              Ubuntu_launchable_from_SSH-CMDandPOWERSHELL



              Not sure if it is some fix performed there, but ubuntu could be launched from CMD and POWERSHELL in SSH session now. Hope others having similar issues can get it working as well. Cheers.






              share|improve this answer




























                0














                Would like to update here that the issue miraculously got solved after the ubuntu self-update (checked on 25 May 2018).



                Ubuntu_launchable_from_SSH-CMDandPOWERSHELL



                Not sure if it is some fix performed there, but ubuntu could be launched from CMD and POWERSHELL in SSH session now. Hope others having similar issues can get it working as well. Cheers.






                share|improve this answer


























                  0












                  0








                  0







                  Would like to update here that the issue miraculously got solved after the ubuntu self-update (checked on 25 May 2018).



                  Ubuntu_launchable_from_SSH-CMDandPOWERSHELL



                  Not sure if it is some fix performed there, but ubuntu could be launched from CMD and POWERSHELL in SSH session now. Hope others having similar issues can get it working as well. Cheers.






                  share|improve this answer













                  Would like to update here that the issue miraculously got solved after the ubuntu self-update (checked on 25 May 2018).



                  Ubuntu_launchable_from_SSH-CMDandPOWERSHELL



                  Not sure if it is some fix performed there, but ubuntu could be launched from CMD and POWERSHELL in SSH session now. Hope others having similar issues can get it working as well. Cheers.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered May 26 '18 at 3:59









                  Patrick C.Patrick C.

                  1062




                  1062

























                      0














                      For launching Ubuntu on WSL, you will need to Invoke it from Windows CMD/PS by just typing "wsl" (without the quotes). It will then directly take you to the Ubuntu bash prompt on WSL by default. Invoking with command "ubuntu" is no longer supported.



                      SSH Into Windows localhost



                      Inside Windows CMD after SSH into localhost



                      Getting Into Ubuntu on WSl from Windows CMD



                      For coming out of the nested sessions, you will just need to type exit in each respective session.



                      What you cannot do as of date is launch wsl while doing SSH to localhost, using the commands:



                      PS> ssh bahree@localhost "wsl"
                      C:UsersBahree> ssh bahree@localhost "wsl"


                      This may have been deliberately prevented by WSL folks, owing to some issues they might have anticipated/tested.



                      However, the following commands are legit and work as expected:



                      PS> ssh bahree@localhost "powershell"
                      PS> ssh bahree@localhost "cmd"
                      C:UsersBahree> ssh bahree@localhost "powershell"


                      HTH






                      share|improve this answer




























                        0














                        For launching Ubuntu on WSL, you will need to Invoke it from Windows CMD/PS by just typing "wsl" (without the quotes). It will then directly take you to the Ubuntu bash prompt on WSL by default. Invoking with command "ubuntu" is no longer supported.



                        SSH Into Windows localhost



                        Inside Windows CMD after SSH into localhost



                        Getting Into Ubuntu on WSl from Windows CMD



                        For coming out of the nested sessions, you will just need to type exit in each respective session.



                        What you cannot do as of date is launch wsl while doing SSH to localhost, using the commands:



                        PS> ssh bahree@localhost "wsl"
                        C:UsersBahree> ssh bahree@localhost "wsl"


                        This may have been deliberately prevented by WSL folks, owing to some issues they might have anticipated/tested.



                        However, the following commands are legit and work as expected:



                        PS> ssh bahree@localhost "powershell"
                        PS> ssh bahree@localhost "cmd"
                        C:UsersBahree> ssh bahree@localhost "powershell"


                        HTH






                        share|improve this answer


























                          0












                          0








                          0







                          For launching Ubuntu on WSL, you will need to Invoke it from Windows CMD/PS by just typing "wsl" (without the quotes). It will then directly take you to the Ubuntu bash prompt on WSL by default. Invoking with command "ubuntu" is no longer supported.



                          SSH Into Windows localhost



                          Inside Windows CMD after SSH into localhost



                          Getting Into Ubuntu on WSl from Windows CMD



                          For coming out of the nested sessions, you will just need to type exit in each respective session.



                          What you cannot do as of date is launch wsl while doing SSH to localhost, using the commands:



                          PS> ssh bahree@localhost "wsl"
                          C:UsersBahree> ssh bahree@localhost "wsl"


                          This may have been deliberately prevented by WSL folks, owing to some issues they might have anticipated/tested.



                          However, the following commands are legit and work as expected:



                          PS> ssh bahree@localhost "powershell"
                          PS> ssh bahree@localhost "cmd"
                          C:UsersBahree> ssh bahree@localhost "powershell"


                          HTH






                          share|improve this answer













                          For launching Ubuntu on WSL, you will need to Invoke it from Windows CMD/PS by just typing "wsl" (without the quotes). It will then directly take you to the Ubuntu bash prompt on WSL by default. Invoking with command "ubuntu" is no longer supported.



                          SSH Into Windows localhost



                          Inside Windows CMD after SSH into localhost



                          Getting Into Ubuntu on WSl from Windows CMD



                          For coming out of the nested sessions, you will just need to type exit in each respective session.



                          What you cannot do as of date is launch wsl while doing SSH to localhost, using the commands:



                          PS> ssh bahree@localhost "wsl"
                          C:UsersBahree> ssh bahree@localhost "wsl"


                          This may have been deliberately prevented by WSL folks, owing to some issues they might have anticipated/tested.



                          However, the following commands are legit and work as expected:



                          PS> ssh bahree@localhost "powershell"
                          PS> ssh bahree@localhost "cmd"
                          C:UsersBahree> ssh bahree@localhost "powershell"


                          HTH







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 16 hours ago









                          Arjun BahreeArjun Bahree

                          1212




                          1212






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • 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%2fsuperuser.com%2fquestions%2f1316309%2fopenssh-server-for-windows-10-could-not-enter-anything-in-ubuntu-terminal-laun%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

                              Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

                              Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

                              Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...