LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2011, 07:49 AM   #1
danibhai
Member
 
Registered: Oct 2009
Posts: 35
Blog Entries: 2

Rep: Reputation: 0
unable to ssh from windows xp to Ubuntu.


I intend to ssh from windows xp to Ubuntu 1.04, get connection error; connection refused.
Noted that sshd daemon not running on Ubuntu.
- tried running the command :
apt-get install openssh-server ; get following error:
package openssh-server has no installation candidate
By mistake I removed openssh-client using the command:
apt-get remove openssh-client ;
Now i cannot install openssh-client using the command:
apt-get install openssh-client ;

My main intention is to transfer a file from windows to Ubuntu.
Please help...
 
Old 09-23-2011, 08:05 AM   #2
etech3
Senior Member
 
Registered: Jul 2009
Location: Virginia
Distribution: Debian Stable Testing Sid Slackware CentOS
Posts: 1,055
Blog Entries: 2

Rep: Reputation: 45
Try rebooting the ubuntu computer.
Code:
apt-get update
Then reinstall ssh
 
Old 09-23-2011, 08:52 AM   #3
theFreethinker
LQ Newbie
 
Registered: Jul 2011
Location: Tartu, Estonia
Distribution: Ubuntu
Posts: 17

Rep: Reputation: Disabled
apt-get install --reinstall openssh-server openssh-client openssh-blacklist
 
Old 09-23-2011, 09:12 AM   #4
danibhai
Member
 
Registered: Oct 2009
Posts: 35
Blog Entries: 2

Original Poster
Rep: Reputation: 0
Did reboot, apt-get update ; failed with error:
some index files failed to download, they have been ignored, or old ones used instead.


the command:
apt-get install --reinstall openssh-server openssh-client openssh-blacklist ; failed with errors:
Package openssh-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is
only available from another source
E: Package openssh-server has no installation candidate.
 
Old 09-23-2011, 09:18 AM   #5
theFreethinker
LQ Newbie
 
Registered: Jul 2011
Location: Tartu, Estonia
Distribution: Ubuntu
Posts: 17

Rep: Reputation: Disabled
openssh is quite widespread package. If it is not in your repository, probably your repository description is broken. Check entries in /etc/apt/sources.list and /etc/apt/sources.list.d/* for possible errors and misspellings.

Or the repository server you are using is in some reason not available at the moment. Try use another repo location.
 
1 members found this post helpful.
Old 09-28-2011, 02:12 AM   #6
danibhai
Member
 
Registered: Oct 2009
Posts: 35
Blog Entries: 2

Original Poster
Rep: Reputation: 0
Thumbs up Thanks..

Quote:
Originally Posted by theFreethinker View Post
openssh is quite widespread package. If it is not in your repository, probably your repository description is broken. Check entries in /etc/apt/sources.list and /etc/apt/sources.list.d/* for possible errors and misspellings.

Or the repository server you are using is in some reason not available at the moment. Try use another repo location.
Thanks .. for the solution.. Freethinker..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to boot Ubuntu after installation on Windows serialcek Linux - Laptop and Netbook 5 05-18-2011 10:53 AM
installation of ubuntu alongwith windows xp & unable to access data from Windows arun.kr Linux - Newbie 8 03-04-2011 10:44 PM
unable to ping or ssh in ubuntu 9.04 zagg Linux - Networking 6 08-20-2009 05:40 AM
Server id has changed on ubuntu 7.10 so unable to ssh in ... curtisa Linux - Security 3 05-15-2008 07:06 AM
Linux to Windows 2003 AD, unable to ssh to server gambler1025 Linux - Server 2 02-14-2007 02:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration