Forums

Discussions of the easy to use open source game control panel.

You are not logged in.

Announcement

Welcome on board ! We are very proud to present you our forums powered by FluxBB ! Please Register, do not forget to read carefully Forum Rules and feel free to Contact Us if you see any problems. Finally, take part in site life !

#1 2013-10-19 03:30:22

TheodoreLogan
Member
Registered: 2013-10-08
Posts: 5

Unable to connect to 'host' on port 22: Permission denied (Errno: 3)

After my main VM restarted today I was getting an error when BGP tried to ssh to it.
It said: Unable to connect to 'host' on port 22: Permission denied (Errno: 13)

I searched all day for a solution until I finally found that the unclean shutdown of the server caused SELinux to be re-enabled.
After disabling it again, it worked like a charm! (/etc/sysconfig/selinux -> SELINUX=disabled)

Leaving this here to save others time!

Offline

#2 2013-10-19 10:25:58

super_g2
Idea's master ;)
Registered: 2013-05-29
Posts: 116
Website

Re: Unable to connect to 'host' on port 22: Permission denied (Errno: 3)

Thks for the advice and feedback smile
I suggest to warhawk adding it on the wiki smile

Offline

#3 2014-01-08 07:17:57

NABEEL
Member
From: Pakistan
Registered: 2014-01-07
Posts: 10
Website

Re: Unable to connect to 'host' on port 22: Permission denied (Errno: 3)

Use chmod chmod -R 777 /var/www
if u have host1free vps. so open virtual console or use chmod -R 777 /var/www
and use ur root username pass..
smile

Offline

#4 2016-07-12 21:34:59

thedudeguy1
Member
Registered: 2014-12-22
Posts: 14

Re: Unable to connect to 'host' on port 22: Permission denied (Errno: 3)

While SELinux is causing this error, I strongly recommend leaving SELinux turned on. SELinux can be left enabled and not conflict with BGPanel. SELinux needs to be told to allow the HTTP Daemon (or whatever you use for your web service) to use networking features such as connecting on some ports. This can be enabled with the command

setsebool -P httpd_can_network_connect 1

I hope this helps you with resolving your error and staying secure!

Offline

Board footer

Powered by FluxBB