ubuntu 12.04 issues

Asked by arunsadhasivam

i am new to ubuntu . i am using 12.0.4 . please let me know how to install open ssh server in ubuntu 12.04.

as i could not get any of apt-get commands working in my case
>sudo apt-get install openssh-server openssh-client
 is not working.
i try manually downloading the ssh client.
now ssh-keygen -t rsa -P “” command is working
but when i try to connect using
>ssh localhost showing eror cannot connect to localhost :22
please help to install ssh manually with out using apt-get

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

apt-cache policy openssh-server; lsb_release -a; uname -a

Thanks

Revision history for this message
arunsadhasivam (arunsadhasivam) said :
#2

openssh-server:
  Installed: (none)
  Candidate: (none)
  Version table:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Linux ubuntu 3.13.0-32-generic #57~precise1-Ubuntu SMP Tue Jul 15 03:51:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
arunsadhasivam (arunsadhasivam) said :
#3

this is what the output i am getting , please help me how to install openssh . i guess ubuntu 12.0.4 any version 32 or 64 wont support much apt-get commands. please help me how to install openssh manually .
i tried dowloading the openssh and try installing manual boot scripts, i installed the boot scripts, but not worked.

install-sshd: create-dirs
 install -m ${MODE} blfs/init.d/sshd ${EXTDIR}/rc.d/init.d/

 ln -sf ../init.d/sshd ${EXTDIR}/rc.d/rc0.d/K30sshd
 ln -sf ../init.d/sshd ${EXTDIR}/rc.d/rc1.d/K30sshd
 ln -sf ../init.d/sshd ${EXTDIR}/rc.d/rc2.d/K30sshd
 ln -sf ../init.d/sshd ${EXTDIR}/rc.d/rc3.d/S30sshd
 ln -sf ../init.d/sshd ${EXTDIR}/rc.d/rc4.d/S30sshd
 ln -sf ../init.d/sshd ${EXTDIR}/rc.d/rc5.d/S30sshd
 ln -sf ../init.d/sshd ${EXTDIR}/rc.d/rc6.d/K30sshd

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Precise is fully supported and has all the apt-get commands of the most recent version.

What is the output of:

sudo apt-get --reinstall install openssh-server

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Please provide also the output that you get for the command

sudo apt-get update

Revision history for this message
arunsadhasivam (arunsadhasivam) said :
#6

it tries to update the url in /etc/source.list but most of them throwing 500 error . After updating also
i checked apt-get cache search it still showing only 2 which is before update.i got from some forums that
url need to be changed. but still no positive output.

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

Please provide the full output of the commands

cat -n /etc/apt/sources.list
sudo apt-get update

(even if one of these commands is showing errors).

Revision history for this message
Launchpad Janitor (janitor) said :
#8

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.