LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-30-2005, 12:39 PM   #1
calabash
Member
 
Registered: Sep 2003
Distribution: FC11
Posts: 128

Rep: Reputation: 15
ssh server - uninstall/re-install Fedora2


I am running Fedora C2 booting into Gnome. I currently have this: OpenBSD: sshd_config,v 1.59 2002/09/25 11:17:16 markus Exp $ installed.
For reasons to convoluted to go into I want to remove the version I have and install a downloaded rpm from OpenSSH with yum.

I have removed the "client" programs (askpass) through the "Add Remove Programs" GUI.

I tried > yum update openssh-server-3.9p1-1fc2.i386.rpm
which ended with > Cannot find any package matching openssh-server-3.9p1-1fc2.i386.rpm available to be updated.
No actions to take

So I am now at a loss as to what to do. The sshd.config file I have points to /usr/bin but all that is there is files with a little Gnome foot on them. I'm assuming that these are exicutables.

I am reluctant to use the yum install option on the downloaded RPMs lest I create competing or broken versions of the servers.

Please advise.

coming to Linux from Windows,

-calabash
 
Old 03-30-2005, 01:30 PM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Yum only works with repositories, not individual files.

If you have to install a specific package then use:

rpm -ivh <package>.

Obligatory warning: Distribution-specific packages are patched and tweaked, and other packages are not drop-in substitutes. Specifically: OpenBSD people don't like PAM, but Fedora Core relies on it, so watch out.
 
Old 03-31-2005, 10:55 AM   #3
calabash
Member
 
Registered: Sep 2003
Distribution: FC11
Posts: 128

Original Poster
Rep: Reputation: 15
I do feel that I could install a package, but how do I remove the existing package? I don't know where to look for it. Linux is like DOS right? If I can find all the parts of the program I can just delete it? What is the "Program Files" equivalent for Linux? Or should I say Fedora, since it seems that there are many locations that the SSH server could be residing?

I can tell you that the SSH server was installed by default by the Fedora package. I can also tell you that the @#%^@ can't be removed by the GUI applet even though it was installed by the OS. It is not even listed.

Currently I'm trying to get the thing up an running via Penquinet on XP. I think I have the keys working, but while I can get a GUI prompt for my username, it will not prompt me for a password and then disconnects. <sigh> I'll be digging into the log files today.

Thanks for your help.

-calabash
 
Old 03-31-2005, 01:25 PM   #4
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
You can remove a single package from your system like this:

rpm -e openssh-server

(you don't need the version number on the end).

Yum is smarter, though:

yum remove openssh-server

The applet is a bit of a @#%^@ - it's only intended for updating existing packages. BTW, the GUI Add/Remove Packages is definitely a @#%^@, and I recommend that you don't use it.

Again, a generic package from OpenSSH is unlikely to just work on Fedora Core without complications, so I'd recommend that you post your SSH problem on the Networking or Securiy forums here, rather than drive yourself into a state of frustration trying to beat your system into submission.
 
Old 03-31-2005, 04:42 PM   #5
calabash
Member
 
Registered: Sep 2003
Distribution: FC11
Posts: 128

Original Poster
Rep: Reputation: 15
hahahahah! Thank you for the advice! I do believe I will follow it!

I do have Penquinet working after a fashion. I had to modify Password Authentication to yes to get it. They are working on modifying the program to allow interactive logins (or some such - anyway keys only doesn't work right now.)
Now all X programs crash (gedit and such), so I need to check Xforwarding serverside and then Xforwarding Penquinet side. I may not have my port forwarding set properly there.
But I have the command-line so I'm 90% happy!

I'll leave the whole askpass-gnome stuff uninstalled as I don't need clients on my server.

Thank you again and I'll post on the other forum if I've got more questions.


-calabash
 
  


Reply



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
MailScanner errors. New Install. Fedora2 chrisnpg Linux - Security 2 09-07-2005 10:00 AM
unable to install MySQL 5 on Linux Fedora2 pelegk2 Linux - Software 5 11-10-2004 03:29 AM
How to Install Fedora2 on Compaq Presario 1200 linuxeagle Linux - Laptop and Netbook 1 09-28-2004 07:01 AM
unable to install tightvnc on fedora2 chandu Linux - Networking 1 06-23-2004 12:29 PM
install linux without burning iso's to CD ? (fedora2) qwijibow Linux - Newbie 8 05-17-2004 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:14 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
Open Source Consulting | Domain Registration