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 - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-03-2011, 11:29 AM   #1
lola1987
LQ Newbie
 
Registered: Jun 2011
Posts: 29

Rep: Reputation: Disabled
SSh trouble


I tried to connect on a centos server from another server linux in ssh mode the problem is :i lost ssh package in the server destination (where i would connect) because of a wrong manipulation so i have this on my shell:

Code:
ssh_exchange_identification: Connection closed by remote host
can someonne help me to fix this problem? i need to connect to the other server to restor some data...
 
Old 06-03-2011, 11:49 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If you can't connect to that machine, how do you want to apply a fix to that machine remotely?
 
Old 06-04-2011, 03:54 AM   #3
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
if there's no other door to the server (telnet, kvm remote terminal, etc ...), then you have no other solution than to send someone to that server. he'll need to connect a screen, pc and maybe mouse, fix the ssh service, and then you can get back in.<br>
kvm over IP could save you (if it's already in place of course):
http://en.wikipedia.org/wiki/KVM_swi..._IP_.28iKVM.29
 
Old 06-05-2011, 05:52 AM   #4
lola1987
LQ Newbie
 
Registered: Jun 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled
tx for your response,i don't have idea if there's kvm in place cause i'm in training and i never acceded to the engine room(where the server is placed), as your opinion the only solution is to go directly to the server and try to fix ssh ?
So ,why use KVM(whit a simple screen and mouse to control the server)?how i can how fix ssh?

i need to install the package?cause the problem is that i removed accidently rpm and yum before the "ssh bug" and i tried to connect from another server(centos) which is in the same network to send rpm package whit ssh but it doesn't work cause ssh is not recognized (removed too)now in the server in problem,the error was that i exited and close the ssh session while i must not disconect from it!
 
Old 06-05-2011, 06:15 AM   #5
ComputerErik
Member
 
Registered: Apr 2005
Location: NYC
Distribution: Debian, RHEL
Posts: 269

Rep: Reputation: 54
As has been recommended in one of your other posts the only real option here is to do a full reinstall and restore any data that you have backed up. You have effectively gotten the system into such a state that it will never really be 100% reliable.
 
  


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
SSH trouble in OS X morelandjs General 7 12-28-2009 06:39 PM
trouble with SSH connection bryanedwards05 Linux - Newbie 2 03-17-2008 02:36 PM
putty and ssh trouble section31 Linux - Software 5 08-13-2006 10:24 AM
PVM Trouble with ssh! funkymunky Linux - Software 0 02-29-2004 09:16 AM
Trouble starrting ssh balaram Linux - Newbie 3 02-09-2002 05:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:19 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