RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    ssh connection problem

    Scheduled Pinned Locked Moved Help and Support
    sshretropieconnectionputtylocal lan
    13 Posts 4 Posters 6.1k Views
    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.
    • mituM
      mitu Global Moderator @tbartus
      last edited by

      @tbartus About the date - check the timezone on the system, could be there is a difference between your timezone and the one set on the Raspberry PI.
      Run sudo dpkg-reconfigure tzdata to set the timezone on the PI.

      tbartusT 1 Reply Last reply Reply Quote 0
      • tbartusT
        tbartus @mitu
        last edited by

        @mitu
        hmmm... I have changed time zone to Warsaw but still the time is wrong...

        Current default time zone" "Europe/Warsaw"
        Locale time is now: Mon Oct 23 21:34:31 CEST 2017
        Universal time is now: Mon Oct 23 19:34:31 CEST 2017

        But current real time is: 18:34

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @tbartus
          last edited by

          @tbartus Then it means you're not synchronized to a time server - check https://wiki.debian.org/NTP for troubleshooting info.
          You didn't give any specifics about your system - are you using the RetroPIe image or you install on-top of an existing Raspbian/Other distro ?

          tbartusT 1 Reply Last reply Reply Quote 0
          • tbartusT
            tbartus @mitu
            last edited by

            @mitu
            Sorry, my fault :)
            I have the system from the newest image of Retropie from the https://retropie.org.uk/download/

            tbartusT 1 Reply Last reply Reply Quote 0
            • tbartusT
              tbartus @tbartus
              last edited by

              Maybe someone will use it:
              NTP (Network Time Protokol) in Raspbian
              https://webinsider.pl/raspberry-pi-ntp-network-time-protokol/

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @tbartus
                last edited by

                @tbartus NTP is already configured - and working - in the image that comes with RetroPie, I'm not sure why it's not working for you.

                tbartusT 1 Reply Last reply Reply Quote 0
                • tbartusT
                  tbartus @mitu
                  last edited by tbartus

                  @mitu I have configured it again. Now service works correctly. Do you have any idea with ssh service? It looks like the service works OK, the server answers to remote login, but putty session after typing password, hangs out and doest'n apear the session prompt. SSH Putty sessions with the other remote computers works correctly.

                  mituM lilbudL 2 Replies Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @tbartus
                    last edited by

                    @tbartus I have no idea why Putty is giving you troubles, but I don't think it's a problem on the RPI side. Try using another Putty version or enable the debug log for Putty and see why it gets stuck.

                    Maybe you have a particular Putty configuration - if you're using it for more than the PI system, you might have configured some options which are not compatible with the ssh version from the Raspian system.

                    1 Reply Last reply Reply Quote 0
                    • lilbudL
                      lilbud @tbartus
                      last edited by

                      @tbartus Try using KiTTY

                      Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                      Backlog: http://backloggery.com/lilbud

                      1 Reply Last reply Reply Quote 0
                      • S
                        sumidu
                        last edited by

                        I was looking for a solution for ages. I found this page to be helpful.

                        https://askubuntu.com/questions/344863/ssh-new-connection-begins-to-hang-not-reject-or-terminate-after-a-day-or-so-on

                        By switching to netcat it now works without a problem.

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

                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.