Enable SSH in Ubuntu 18
If you need to install OpenSSH on an offline Ubuntu machine without using sudo apt install , you can follow these steps to manually download the necessary packages on another machine (with internet access) and transfer them to the offline machine. Steps to Install OpenSSH Offline Step 1: Download the Required Packages on an Online Machine Check your Ubuntu version : Run the following command on the offline machine to know the version of Ubuntu you are running (this is important to download compatible packages): bash Copy code lsb_release -a Download the required packages : On a machine with internet access, go to the official Ubuntu Packages website . Search for the openssh-server package and note the dependencies for the version that matches your Ubuntu version. Download the required .deb packages : On the online machine , download the necessary .deb files for openssh-server and its dependencies. You can either manually download them from the Ubuntu Packages website or use ap