Fresh ubuntu install, how do I let it accept ssh connections?

Set up an old laptop as a little home server and want to log into it from my main PC. ssh just says connection refused. What do I need to install and enable on the Ubuntu side?
1

Leave A Reply

Log in to post an answer.

1 Answer

otisk Oct 23, 2026
meera_helpdesk
desktop ubuntu doesn't ship with the ssh server, only the client. so: sudo apt install openssh-server, then sudo systemctl enable --now ssh, and systemctl status ssh to check it's running. if ufw is on, sudo ufw allow ssh as well or it'll just time out. find the address with ip a and connect from the other machine with ssh yourname@that-address.