I don't have a monitor just at the hand, but I want to use my Raspberry Pi with Ubuntu Mate... How do I activate the SSH on it? When trying to ssh to it, it says 'Connection refused'
Asked
Active
Viewed 3,189 times
1
-
1IIRC it already is enabled the change only affected Raspbian. Have you tried connecting to it? – Steve Robillard May 15 '17 at 18:01
-
@SteveRobillard But it gives me 'Connection Refused' when trying... – Daniel Cortild May 15 '17 at 18:02
-
You can try adding an ssh file (no extension) to the boot directory and rebooting, but I suspect that it is either not installed or not started. – Steve Robillard May 15 '17 at 18:04
-
@SteveRobillard Yeah, I have tried that as well... – Daniel Cortild May 15 '17 at 18:06
-
1If you must do this headless you may be better off using Raspbian. – Steve Robillard May 15 '17 at 18:37
2 Answers
0
Unluckily you have to do first configuration with the hdmi and enable the ssh service. This because a recent patch that disabled ssh on first boot. Regards, sorry for my bad english
Massimo Simone
- 16
- 1
0
After you attach a monitor to your Pi3, open up a terminal and enter in
sudo systemctl enable sshd
sudo systemctl start sshd
I recommend installing ufw on any Pi device
sudo apt install ufw
Now to allow ssh connections:
sudo ufw allow ssh
Michael Wilcox
- 262
- 1
- 11