How to install openssh on a machine without an internet connection?

So, I would like to install OpenSSH-server, unfortunately, the Debian machine is offline. Is there a simple way of installing ssh offline, including any dependencies?

1 Like

I’ve never had to but check out this link:

1 Like

Have a look at apt-offline - It’s for Debian (And Debian based) system only. It can help you install/upgrade packages, and their dependencies, on a Debian box with no direct internet connection.

Some good documentation here and here.

1 Like