Friday, July 18, 2014

Installing ssh in ubuntu

I tried to install ssh in ubuntu 13.10 , and faced many number of issues due to mirror site not being able to be detected. After following many instructions and going through many sites, the only answer that worked for me was found at superuser.com. Here Aamir mentions the following steps.

1) Edit the  sources.list file using  root user privileges.
      sudo vi /etc/apt/sources.list

2) Replace the content of the file by the contents found at https://gist.github.com/syst3mw0rm/8163897


#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################
###### Ubuntu Main Repos
deb http://in.archive.ubuntu.com/ubuntu/ saucy main restricted universe
###### Ubuntu Update Repos
deb http://in.archive.ubuntu.com/ubuntu/ saucy-security main restricted universe
deb http://in.archive.ubuntu.com/ubuntu/ saucy-updates main restricted universe

3) Save the file.

4) Open a terminal and type

     sudo apt-get update

5) Check if all goes well in the above step, and then proceed to install ssh.
    
    sudo apt-get install ssh


No comments:

Post a Comment