How can I install ssh on Ubuntu 12 without internet

9,170

Steps:

  • Get the "deb" file
  • Give the command by pointing offline package file

In order to get offline installation file, follow this command:

sudo apt-get –download-only openssh-server

Install it by using “deb” file:

sudo dpkg -i /home/yupana/Desktop/ssh.deb

Share:
9,170

Related videos on Youtube

Ned
Author by

Ned

Updated on September 18, 2022

Comments

  • Ned
    Ned over 1 year

    I need to install ssh offline on a computer which doesn't have the internet. Is there any package to do it or i need prepare one? How can I prepare? OS is Ubuntu 12

  • Ned
    Ned over 11 years
    I meant the commands but anyway. There is a detailed explanation: askubuntu.com/questions/974/… Sorry I asked this question to the wrong section of stackoverflow
  • mauek unak
    mauek unak almost 7 years
    this will not download dependencies, therefore it will probably ends with an error. see answer here: askubuntu.com/questions/113965/…