Ubuntu – How to install openssh from usb


Hi I have installed ubuntu from bootable usb. During installation I did not pay attention for Openssh server in software selection screen. however is it possible to reboot from usb to just install openssh only without affecting anything which is already installed and configured? Just like we install feature/server role in windows!!! Thanks. I dont have internet connection in my server yet. thanks.

Best Answer

  • Rather, you can download the .deb file on any other machine which is connected to the Internet. Using the following command:

    sudo apt-get install download openssh-server

    The, install the .deb image on the server using the following command:

    sudo dpkg -i /home/himanshu_code/Desktop/ssh.deb
  • Related Question