Cant get ssh to work

Asked by DrHappyJax

I'm trying to get SSH to work because im my Unix/Linux class we are using more often...So I need to become more well known with it...Anyways, I just installed Ubuntu on my Dell E1405 Laptop and I'm trying to get SSH to work.

I got into my Terminal and I type:

sudo apt-get install openssh-server

Then it says:

Reading Package lists... Done
Building Dependency Tree... Done
E: Couldn't find Package openssh-server

Then it takes me back to my root... Can someone please help me with this problem...Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Allen Chemist (alchemist) said :
#1

openssh-server *should* be in the 'main' repository. From your command prompt, try typing:
gksudo synaptic

Within synaptic click on Settings -> Repositories and ensure the 'Canonical supported Open Source software (main)' is checked. I also like to check off the others.

Hit 'reload' and try a search for openssh-server

You are 100% correct, that's how it *should* have installed it

Hope this helps!

Revision history for this message
Dr Small (drsmall) said :
#2

Synaptic says that openssh-server is in their Main Repository, so I don't know why it didn't install, unless your sources.list is messed up. But that was how it was supposed to work, anyhow.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Please try:

sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install openssh-server

Hth

Can you help with this problem?

Provide an answer of your own, or ask DrHappyJax for more information if necessary.

To post a message you must log in.