SSH won't work on my new install

Hey Folks…
My first post here and brand new installation on Pi3.

Can’t get Putty (SSH) to work … Error is “Network error: Connection Refused”
I can connect locally by browser at xxx.xxx.xx.xx:8123 just fine, however on Putty using the
IP address and SSH port 22 exactly as the instructions state I get this error “Network error: Connection Refused”.
Any Ideas for this Newbie ??

And I did install Samba… And it comes up on my network .
Perhaps Samba is all I need to do needed configurations and such… Please advice if I need SSH.
Again I’m brand new here… Thanks

Just so you know, you can freely share any ip address that starts with 192.168, 172.16, 10. These are NON-routeable IP addresses and it doesn’t matter if we know your internal IP, we can’t get to it.

Are you trying to login as pi@ipaddress ?

So, can you use a keyboard and monitor on the pi itself and test a few things?

can you ssh localhost?

If you can ssh localhost while using the pi directly, SSH is working. Otherwise, the SSH service is not running.

sudo systemctl status sshd should tell you if the SSH service is running. (I am pretty sure it is called sshd on raspbian)

Check these things first

Did you install a ssh file to the root folder of the SD-Card? Hassbian/Raspbian does not enable SSH by default - need to create a dummy file can be empty called ssh

Actually looks like ssh is enabled in Hassbian by default…

1 Like

Hey thanks,
The browser at 192.168.0.22:8123 works great.

The Putty SSH client program only requires you to input the local IP 192.168.0.22 and SSH port 22.
No other settings from what I read are needed according to the BRUH Install Video I watched.

I don’t care to directly attach a keyboard and monitor to my Pi3. And is why I used the pre-configured Image. If I have to I’ll go that route, but not sure if needed ?

I can however get to the Network/HASSIO/Config folders by Samba on my network.

I guess the bigger question is why all of my many devices are not showing up on Home Assistant.
Only my Roku 2 player is showing up,
But none of the several WiFi lights show up, and many Sonoff Basic Switches, 2-Alexa’s, and several LED RGB WiFi light strips, all are controllable by my Amazon Alexa’s. I guess I need to edit the Configuration.yami file ??

I did not do anything as I used the preconfigured Hassbian image, that states it works without editing.
So I do not have a monitor or keyboard attached to the Pi3.
While I’m able to get on the main webpage, and also access the shared folders using Samba by my local network. Not sure I can edit files in my root folder.

This would only be needed for troubleshooting the issue. If the issue is that the service is not running, you have to have a way to make sure it is started…

Did you add them to your configuration.yaml? All devices don’t magically show up, you will need to put in some config settings for most of them. The ones that are showing up are likely just being ‘discovered’ by the Discovery Component.

You should be able to edit the files in your samba share…

Hey Thanks…
Yes I do see the configuration.yami file in the shared folder through SAMBA.

I’m totally “Entry Level” as I’m just staring out on Hassbian after years (Early 1990’s) using Home Seer software running my old X10 devices, as well as interfacing to my Security system and Home AC Thermostat…

I guess I’ll post on another thread on how to get just one of my many newer devices to interface with Hassbian.
I have quite a long list of device, and thinking if I get just a bit of help with one, the rest will be easier for me to do myself…

Thanks again for your help

Did you enable ssh using raspi-config, go to interface options and enable it.

Screenshot_2018-02-16_12-22-43

Whats raspi-config? and how do I enable it from my browser?
Also what is the Terminal program you are using?
The installation video recommends putty

It is a ‘program’ that comes with raspbian…you don’t run it from a browser. I told you, you need to hook up a monitor and keyboard to it temporarily for troubleshooting. If you don’t want to do that, you are out of luck on figuring out why SSH isn’t working.

flamingm0e, answered your question about raspi-config, I’m running Ubuntu 18.04(pre-release), the terminal is just a regular xterm.

OK… I’ll hook up a monitor and keyboard. Was just hoping to avoid that. But you’re right no way around it.:slight_smile: