# Can't ssh to GameShell

**URL:** <https://forum.clockworkpi.com/t/cant-ssh-to-gameshell/2703>\
**Category:** GameShell\
**Tags:** network, ssh\
**Created:** [February 7, 2019, 3:50pm UTC](https://forum.clockworkpi.com/t/cant-ssh-to-gameshell/2703 "2019-02-07T15:50:09Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/michael/32/1660_2.png) [@Michael](https://forum.clockworkpi.com/u/Michael)\
**Post date:** [February 7, 2019, 3:50pm UTC](https://forum.clockworkpi.com/t/cant-ssh-to-gameshell/2703/1 "2019-02-07T15:50:09Z")

</div>

I just assembled the GameShell and have wifi connectivity. I was able to update the Launcher to 1.24 so accessing the internet is fine.

I then tried connecting to it over the LAN wifi using the “Tiny cloud” IP. I can see the GameShell from the router, I can ping the IP, but I can’t ssh to it. I get to the password prompt, enter “cpi” and the connection just hangs. I have to kill the terminal.

I tried from both Linux and PuTTY on Windows. No luck.

I was able to see the CLOCKWORKPI on the Windows network from Window 10 and could access the games/music folder as well. So that proves there is at least some way to get at the GameShell over the local wifi connection.

Any suggestions on how to get ssh working to the GameShell? It’s very puzzling, as I have many SBCs including Raspberry Pi, Parallella, PocketCHIP and I can ssh to any other those machines. What is so different about the connectivity to the GameShell?

Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![detourne](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/detourne/32/2829_2.png) [@detourne](https://forum.clockworkpi.com/u/detourne)\
**Post date:** [February 7, 2019, 3:58pm UTC](https://forum.clockworkpi.com/t/cant-ssh-to-gameshell/2703/2 "2019-02-07T15:58:16Z")

</div>

I was having issues from my PC, too, then I switched to using AndFTP from my Android Phone, and I’ve been able to connect to the GameShell no problem. All I do is transfer files from my phone to the GameShell and it works like a charm. Maybe you could try connecting from a device like I did?

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/michael/32/1660_2.png) [@Michael](https://forum.clockworkpi.com/u/Michael)\
**Post date:** [February 7, 2019, 5:06pm UTC](https://forum.clockworkpi.com/t/cant-ssh-to-gameshell/2703/3 "2019-02-07T17:06:36Z")

</div>

Thanks, but I’m not having a problem moving files back and forth to the GameShell. I can see the CLOCKWORKPI device on the Windows network and can access the /games and /music directories.

What I need to do is have ssh access to the GameShell, and that’s where I’m stuck. I can ping the IP on the local LAN and ssh does prompt for the password, so it’s at least trying to establish a connection. But then it just hangs. I tried from both Linux and Windows ssh clients with no luck.

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/michael/32/1660_2.png) [@Michael](https://forum.clockworkpi.com/u/Michael)\
**Post date:** [February 7, 2019, 11:32pm UTC](https://forum.clockworkpi.com/t/cant-ssh-to-gameshell/2703/4 "2019-02-07T23:32:28Z")

</div>

Ok, so this is interesting…

I set up a wifi access point on my phone (tethered to my cellular connection). I then connect a computer and the GameShell to this access point. I can now ssh to the GameShell without issues.

So it seems the ssh problem is due to my router or in the way I’ve configured my home wifi. I wish I could figure this out as it’s very inconvenient to have to tether to my cell.

I guess I could also go the USB ethernet route.

---

<div class="post-metadata">

**Author:** ![Petrakis](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petrakis/32/256_2.png) [@Petrakis](https://forum.clockworkpi.com/u/Petrakis)\
**Post date:** [February 8, 2019, 9:08am UTC](https://forum.clockworkpi.com/t/cant-ssh-to-gameshell/2703/5 "2019-02-08T09:08:02Z")

</div>

That reminds me when I got my gameshell I had similar issue, the ssh hung up. It was a matter of poor wifi conection with the router. Things got better when I disabled the power save (It went form unusable to usable) [How to disable wifi power save to prevent disconnects - #9 by Petrakis](https://forum.clockworkpi.com/t/how-to-disable-wifi-power-save-to-prevent-disconnects/933/9)

P.S. Thats an old post and currently the power save option is added to the launcher (if you have it updated)

Also I recommend using the USB to Ethernet because its amazing compared to the wifi.

> [@\[USB-ETH\] How to transfer files if you have unstable wifi](https://forum.clockworkpi.com/t/usb-eth-how-to-transfer-files-if-you-have-unstable-wifi/958):
>
> Many of you have probably experienced that the wifi signal is weak specially if you have the router behind walls (compared to other devices, like smartphones). That in some cases makes it a pain to transfer files or download the from the internet. If you get random disconnects you could try [this](https://forum.clockworkpi.com/t/how-to-disable-wifi-power-save-to-prevent-disconnects/933) Hal posted how to set up the USB Ethernet [here](https://forum.clockworkpi.com/t/how-to-setup-cpi-usb-ethernet/599) and it´s a great solution to the wifi problem, after you follow the steps you can ssh to the clockwork pi from the usb eth and also share your computer in…

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/michael/32/1660_2.png) [@Michael](https://forum.clockworkpi.com/u/Michael)\
**Post date:** [February 9, 2019, 1:16am UTC](https://forum.clockworkpi.com/t/cant-ssh-to-gameshell/2703/6 "2019-02-09T01:16:12Z")

</div>

Thank you, I’ll try that.

Where is the power save option in the Launcher? I am on version 1.24 and did not see it. Do you mean the power profiles? I’m using the server profile but still hang with ssh.

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/michael/32/1660_2.png) [@Michael](https://forum.clockworkpi.com/u/Michael)\
**Post date:** [February 9, 2019, 6:27pm UTC](https://forum.clockworkpi.com/t/cant-ssh-to-gameshell/2703/7 "2019-02-09T18:27:09Z")

</div>

No luck using the powersave\_off script. I’ll have to use my cell as an access point.

---

<div class="post-metadata">

**Author:** ![Petrakis](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petrakis/32/256_2.png) [@Petrakis](https://forum.clockworkpi.com/u/Petrakis)\
**Post date:** [February 10, 2019, 12:42am UTC](https://forum.clockworkpi.com/t/cant-ssh-to-gameshell/2703/8 "2019-02-10T00:42:34Z")

</div>

What about the usb to ethernet?

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/michael/32/1660_2.png) [@Michael](https://forum.clockworkpi.com/u/Michael)\
**Post date:** [February 10, 2019, 1:13am UTC](https://forum.clockworkpi.com/t/cant-ssh-to-gameshell/2703/9 "2019-02-10T01:13:49Z")

</div>

I didn’t try that yet and probably won’t at this point since I’m using HDMI out to get the full desktop. From there, it’s like any other Debian machine with internet access. In particular, I can develop using the native toolchain there and have no need for ssh anymore.

I do believe it is the poor wifi signal as the root cause. My cell access point gives me about 95% signal strength while my router wifi is a paltry 40%.

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/michael/32/1660_2.png) [@Michael](https://forum.clockworkpi.com/u/Michael)\
**Post date:** [February 10, 2019, 4:24pm UTC](https://forum.clockworkpi.com/t/cant-ssh-to-gameshell/2703/10 "2019-02-10T16:24:28Z")

</div>

I found another workaround to avoid tethering off my cell. If you’ve got a Windows 10 machine just set up a mobile wifi hotspot. From settings “Mobile hotspot”–\>“Share internet connection”.

This allows me to connect the GameShell and another PC on the newly created wifi hotspot and access the GameShell via ssh.

I don’t know why this works with the “virtual router” and not my physical router, but I’ve got yet another option over wifi.

---

<div class="post-metadata">

**Author:** ![steve](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@steve](https://forum.clockworkpi.com/u/steve)\
**Post date:** [June 24, 2019, 11:59am UTC](https://forum.clockworkpi.com/t/cant-ssh-to-gameshell/2703/11 "2019-06-24T11:59:57Z")

</div>

I had a slightly different problem trying to ssh in from my Mac, it kept giving me warnings about keys not matching and potential man in the middle attacks and wouldn’t let me connect. Turns out I had ssh’d into another system with the same IP address in the past and the IP and identity key were saved in my known hosts file. I just opened the file and removed the line for the IP address for the CPi and it worked no problem.
