Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.