ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Why does some key combinations not work over ssh?

    IT Discussion
    midnight commander ssh
    3
    32
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      I'm not aware of any key combinations not working over SSH. Do you have specific examples? Normally what you describe would be expected to be a key transfer issue with emulation software and not SSH itself. Are you using an app like PuTTY or something?

      1 1 Reply Last reply Reply Quote 0
      • 1
        1337 @scottalanmiller
        last edited by

        @scottalanmiller said in Why does some key combinations not work over ssh?:

        I'm not aware of any key combinations not working over SSH. Do you have specific examples? Normally what you describe would be expected to be a key transfer issue with emulation software and not SSH itself. Are you using an app like PuTTY or something?

        I use all different things in linux, bsd and windows. But also ssh into things like switches and other devices. And use serial connections as well.

        Usually it's keys like ctrl+arrow, ctrl+shift+arrow, ctrl+enter, alt+enter etc.

        Maybe it's not ssh, maybe it's bash. I don't know if ssh is different than telnet or serial tty for example.

        Hmm, I'll need to run some tests before I can give a good answer.

        scottalanmillerS IRJI 3 Replies Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @1337
          last edited by

          @Pete-S said in Why does some key combinations not work over ssh?:

          Usually it's keys like ctrl+arrow, ctrl+shift+arrow, ctrl+enter, alt+enter etc.

          Those aren't key combinations that I know about. What are they supposed to do in the shell you are connecting to?

          1 Reply Last reply Reply Quote 0
          • IRJI
            IRJ @1337
            last edited by

            @Pete-S said in Why does some key combinations not work over ssh?:

            @scottalanmiller said in Why does some key combinations not work over ssh?:

            I'm not aware of any key combinations not working over SSH. Do you have specific examples? Normally what you describe would be expected to be a key transfer issue with emulation software and not SSH itself. Are you using an app like PuTTY or something?

            I use all different things in linux, bsd and windows. But also ssh into things like switches and other devices. And use serial connections as well.

            Usually it's keys like ctrl+arrow, ctrl+shift+arrow, ctrl+enter, alt+enter etc.

            Maybe it's not ssh, maybe it's bash. I don't know if ssh is different than telnet or serial tty for example.

            Hmm, I'll need to run some tests before I can give a good answer.

            These other devices are not your typical Linux distro or they could be extremely stripped down versions of Linux. I'd expect your actual Linux bash connections should be the same.

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @1337
              last edited by

              @Pete-S said in Why does some key combinations not work over ssh?:

              Usually it's keys like ctrl+arrow, ctrl+shift+arrow, ctrl+enter, alt+enter etc.

              Tried some of these in BASH, don't seem to do anything.

              1 Reply Last reply Reply Quote 0
              • 1
                1337
                last edited by

                I'm a fan of mc which uses some of these. For instance alt+enter or ctrl-enter copies the current filename to the command line.

                scottalanmillerS 2 Replies Last reply Reply Quote 0
                • 1
                  1337
                  last edited by

                  Come to think of it I sometimes also run into problems with certain keys like @ or | and have to use the alt+64 or alt+124 instead which works.

                  I also run in cygwin sometimes.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @1337
                    last edited by scottalanmiller

                    @Pete-S said in Why does some key combinations not work over ssh?:

                    I'm a fan of mc which uses some of these. For instance alt+enter or ctrl-enter copies the current filename to the command line.

                    Sure, but are you using MC through SSH?

                    When do SSH and MC coincide? You can use SSH as a VPN tunnel to access MC remotely. You can open MC to a machine and open an SSH session from there.

                    1 1 Reply Last reply Reply Quote 0
                    • 1
                      1337 @scottalanmiller
                      last edited by 1337

                      @scottalanmiller said in Why does some key combinations not work over ssh?:

                      @Pete-S said in Why does some key combinations not work over ssh?:

                      I'm a fan of mc which uses some of these. For instance alt+enter or ctrl-enter copies the current filename to the command line.

                      Sure, but are you using MC through SSH?

                      Yes, connect with ssh and start mc.

                      Or sometimes use mc's remote shell link but that is just for file transfer.

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @1337
                        last edited by

                        @Pete-S said in Why does some key combinations not work over ssh?:

                        I'm a fan of mc which uses some of these. For instance alt+enter or ctrl-enter copies the current filename to the command line.

                        I just tried those on MC and they didn't do anything.

                        1 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @1337
                          last edited by

                          @Pete-S said in Why does some key combinations not work over ssh?:

                          Or sometimes use mc's remote shell link but that is just for file transfer

                          MC doesn't have any SSH, though. AFAIK

                          1 Reply Last reply Reply Quote 0
                          • 1
                            1337 @scottalanmiller
                            last edited by

                            @scottalanmiller said in Why does some key combinations not work over ssh?:

                            @Pete-S said in Why does some key combinations not work over ssh?:

                            I'm a fan of mc which uses some of these. For instance alt+enter or ctrl-enter copies the current filename to the command line.

                            I just tried those on MC and they didn't do anything.

                            Then you have the same problem as I do.

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @1337
                              last edited by

                              @Pete-S said in Why does some key combinations not work over ssh?:

                              @scottalanmiller said in Why does some key combinations not work over ssh?:

                              @Pete-S said in Why does some key combinations not work over ssh?:

                              I'm a fan of mc which uses some of these. For instance alt+enter or ctrl-enter copies the current filename to the command line.

                              I just tried those on MC and they didn't do anything.

                              Then you have the same problem as I do.

                              But I'm not using SSH. I'm only using MC.

                              1 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                Can't be a BASH issue because what you are describing is just a copy/paste mechanism that happens as keystrokes to BASH and to SSH. So wherever it is or isn't happening is unrelated to those.

                                1 Reply Last reply Reply Quote 0
                                • 1
                                  1337 @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in Why does some key combinations not work over ssh?:

                                  @Pete-S said in Why does some key combinations not work over ssh?:

                                  @scottalanmiller said in Why does some key combinations not work over ssh?:

                                  @Pete-S said in Why does some key combinations not work over ssh?:

                                  I'm a fan of mc which uses some of these. For instance alt+enter or ctrl-enter copies the current filename to the command line.

                                  I just tried those on MC and they didn't do anything.

                                  Then you have the same problem as I do.

                                  But I'm not using SSH. I'm only using MC.

                                  So you are you running MC on your local machine? Those key combos should work then.

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @1337
                                    last edited by

                                    @Pete-S said in Why does some key combinations not work over ssh?:

                                    @scottalanmiller said in Why does some key combinations not work over ssh?:

                                    @Pete-S said in Why does some key combinations not work over ssh?:

                                    @scottalanmiller said in Why does some key combinations not work over ssh?:

                                    @Pete-S said in Why does some key combinations not work over ssh?:

                                    I'm a fan of mc which uses some of these. For instance alt+enter or ctrl-enter copies the current filename to the command line.

                                    I just tried those on MC and they didn't do anything.

                                    Then you have the same problem as I do.

                                    But I'm not using SSH. I'm only using MC.

                                    So you are you running MC on your local machine? Those key combos should work then.

                                    Correct, that's almost always where I run it. And the key combos do nothing.

                                    1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller
                                      last edited by

                                      Key combos are normally associated with the operating system or application. But MC is just a website. So normally it would not be able to assign key combinations.

                                      1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller
                                        last edited by

                                        Does MC list a set of key combos that they have created? I'm not sure how that can work technically. I Googled it and couldn't find any keys documented as being set by it.

                                        1 1 Reply Last reply Reply Quote 0
                                        • 1
                                          1337 @scottalanmiller
                                          last edited by

                                          @scottalanmiller said in Why does some key combinations not work over ssh?:

                                          Does MC list a set of key combos that they have created? I'm not sure how that can work technically. I Googled it and couldn't find any keys documented as being set by it.

                                          mc as in midnight commander.
                                          https://midnight-commander.org/wiki/doc/filePanels/hotkeys

                                          alt text

                                          1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller
                                            last edited by

                                            OH!!!! Not MeshCentral. We talk about MC so often, it never occurred to me that it would be something else.

                                            1 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post