Can't SSH (even though enabled)
-
Hi everyone.
I've looked around for a solution for this, but was not able to find it anywhere.
So I've installed retropie 4.2.2 and I'm trying to SSH from my desktop pc (on the same wifi network) but cannot get access.
At first the error message was "Connection refused", which I know now was because SSH was disabled in Retopie. So I enabled SSH and now when I try to SSH it says that Server unexpectedly closed the network. I've made sure that I'm typing the EXACT same IP as Retropie shows when "showing IP".I'm Using Putty to SSH and the COM port is 22 and SSH is selected in Putty.
Anyone have an idea to get this working? It's really frustrating when trying to code, that its not working.
-
Your Router maybe blocking the SSH Port, which is port 22.
-
Okay so I was not able to open port 22 on my sagem router (it says there was a conflict).
I have however opened the port through my AVG firewall. But it still gives me the same error.. Any other suggestions?
-
Port 22 must be opend. Can you ping your PI?
Usepping
ortcping
to ping port 22 :)Further Info:
the user name must be
pi
password israspberry
root user must be enabeld firstyou also try
putty retropie
-
@RpiBeginner , if your Pi and Pc are on the same LAN, the router shouldn't be blocking anything.
On your PC, open a cmd.exe window and type:
telnet <your pi's ip address> 22
If the screen clears out and blanks, then you have verified the Pi can be accessed on port 22.
If you get a timeout or error of some sort, then your Pi cannot be reached at that ip address on port 22.
If your PC does not have telnet.exe and you're using Windows , just add it from add windows components in the uninstall programs area. -
I had this once before, and it was to do with rasbian disabling ssh until I had changed the password (in fact I think it came up with a prompt to that effect on the console).
Also, if you are using a multiband wireless router, some (notably BT Home Hubs amongst others) do not allow traffic to cross from 5G to 2.4G network or vice versa, but allow both networks to the internet, they are treated as if they were 2 separate internal networks.
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.