# How to fix ssh: connect to host 10.0.2.15 port 22: Connection refused

It's already Friday, and I'm delighted 😉 to see you here.

Another day of problem-solving, so we'll see how it goes.

I had the same issue, and here is how I was able to solve it after doing some research.

```
sudo apt-get install openssh-server openssh-client`
```

Yeah, that's all 😉😊 you just fixed that error.

I'd love to connect with you at [Twitter](https://twitter.com/olanetsoft) | [LinkedIn](https://www.linkedin.com/in/olubisi-idris-ayinde-05727b17a/) | [GitHub](https://github.com/Olanetsoft)

See you next Friday in [DevOpsFriday](https://blog.idrisolubisi.com/series/devops) series. Take care!!!

