I recently had an issue with my Centos 6 box there about a couple of months ago when I would successfully login with ssh the connection would immediately close. I was suspecting packages with yup and saw there were some duplicate packages for OpenSSH. I did a cleanup and now yum is happy.
I restarted my box and now I can't connect to ssh. connection refused
When I took a look at grep sshd secure I get a ton of error: rexec of /usr/sbin/sshd failed: No such file or directory
also when I try and restart sshd /etc/init.d/sshd restart I get
stopping sshd: [FAILED]
Is there anyone that can point me in a direction to get this fixed? I have been Googling for hours lol
When I do command yum distro-sync openssh-server --skip-broken i get
I restarted my box and now I can't connect to ssh. connection refused
When I took a look at grep sshd secure I get a ton of error: rexec of /usr/sbin/sshd failed: No such file or directory
also when I try and restart sshd /etc/init.d/sshd restart I get
stopping sshd: [FAILED]
Is there anyone that can point me in a direction to get this fixed? I have been Googling for hours lol
When I do command yum distro-sync openssh-server --skip-broken i get
Code:
Loaded plugins: fastestmirror, universal-hooks
Setting up Distribution Synchronization Process
Loading mirror speeds from cached hostfile
* EA4: x.x.x.x
* cpanel-addons-production-feed: x.x.x.x
* cpanel-plugins: x.x.x.x
* base: mirror.dal.nexril.net
* epel: sjc.edge.kernel.org
* extras: repos.lax.layerhost.com
* remi: mirrors.mediatemple.net
* remi-safe: mirrors.mediatemple.net
* updates: centos-distro.1gservers.com
Resolving Dependencies
--> Running transaction check
---> Package openssh-server.x86_64 0:5.3p1-124.el6_10 will be a downgrade
--> Processing Dependency: openssh = 5.3p1-124.el6_10 for package: openssh-server-5.3p1-124.el6_10.x86_64
---> Package openssh-server.x86_64 0:5.3p1-269.el6 will be erased
updates/filelists_db | 7.9 MB 00:00
Packages skipped because of dependency problems:
openssh-server-5.3p1-124.el6_10.x86_64 from updates