• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Uninstalled SSH remotely?! Help reinstalling!

Ok, i totally botched up here. While logged into my Fedora machine I accidently pasted and ran:
yum remove openssh-server openssh-clients
Without remembering I rebooted the machine and now im locked out. What are my options? Surely there is a way to get yum to install openssh-server and openssh-clients without actually logging in via ssh.

ANY help would be appreciated. I've got limited ftp access, but as far as i know, no telnet access. What can I do?! Thanks
0
ChrisSMG
Asked:
ChrisSMG
  • 4
  • 3
  • 2
  • +1
2 Solutions
 
ChrisSMGAuthor Commented:
Thought I should add, I've got a few other servers with identical setups in the same datacenter. I wouldnt be able to gain access somehow with this would I?
0
 
ranadastidarCommented:
no if it happend then u have to configure your server again not remotly but in that server location.
0
 
rindiCommented:
If by any chance you have webmin installed on that server, you could use that to reinstall ssh... Or if you have telnet active (actually I hope not, as having telnet active would defeat having something as secure as SSH running...).
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
ChrisSMGAuthor Commented:
Neither cases.No webmin or SSH access
0
 
rindiCommented:
You mean telnet... ;)

Anyway, that means you'll have plan a trip to datacenter like ran' already suggested...
0
 
ChrisSMGAuthor Commented:
Alright guys, total bummer.
0
 
linux2000inCommented:
nothing much hard.

login throught telnet ( some user )

someuser$su -
enter root password

You can install Package using rpm from directory to net... also which explaine below..

root@home#rpm -ivh http://Server_name/openssh-x.x.xx.rpm

OR if have local where running Webserver (some other PC ) you download all packages which u want to install copy in Webserver ROOT Directory and you can directory install from following commnd.



Regards,
linux2000in

linux2000in at yahoo dot com

0
 
ranadastidarCommented:
so funny comment by linux2000in,  ChrisSMG didnt login to his remote server bcos he already disable telnet as well as ssh so how he ll login through telnet?
0
 
ChrisSMGAuthor Commented:
I'm going ahead and having the tech at the datacenter reinstall it. Thanks anyways guys.
0
 
rindiCommented:
thanks too
0
 
linux2000inCommented:
ranadastidar ,

I did not read properly !! :(  So, i understood telent access is there.

www.linux-directory.net
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 4
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now