Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

3,396 views
Skip to first unread message

Justin Miller

unread,
Apr 11, 2014, 10:31:44 PM4/11/14
to gce-dis...@googlegroups.com
I've been setting up WHM/cPanel for a few days now. One two instances, I have WHM DNS Only installed, however recently I've lost the ability to do just about anything with them. I'm trying to figure out what's going on with WHM but I cannot SSH into the instance. When I use the gcutil function provided within the "SSH" button next to the instance, I get this message: "

Permission denied (publickey,gssapi-keyex,gssapi-with-mic)." 


Any ideas of what would cause this?

Kathryn Brisbin-Hurley

unread,
Apr 14, 2014, 12:09:56 PM4/14/14
to Justin Miller, gce-dis...@googlegroups.com
Hi Justin,

Does this StackOverflow question and answer help?


Cheers,
Kathryn


--
© 2013 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/58b0a977-1e59-4530-8a63-8eddb1ee6433%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tim Chaves

unread,
May 18, 2014, 11:50:21 AM5/18/14
to gce-dis...@googlegroups.com, jus...@opticorpnm.com
Justin, hoping you got this resolved--so are you successfully running WHM/cPanel on GCE?  I'm getting stuck on the DNS stuff--did you have to use the cPanel DNSONLY product and install it on multiple instances?

Alex Szilagyi

unread,
Jun 25, 2014, 7:41:18 PM6/25/14
to gce-dis...@googlegroups.com, jus...@opticorpnm.com
Hi Timmy,

It may be an old topic now but I'd like to ask you if you've managed to configure cPanel/WHM to work properly on Google Compute Engine? I'm in the middle of configuring my new linux environment for hosting on GCE but I also got stuck at DNS config, the guys who sold me the cPanel license cannot help me with the configs, they only point out the following:


Your server's IP addresses look to be behind a NAT firewall. The IP address xxx.xxx.xx.xxx will needs to be routed to a local IP address on your server. It looks like the NAT firewall is also not routing all ports to your server such as 53 for DNS and 25 for smtp:

==================
[~]$:> telnet xxx.xxx.xx.xxx 25
Trying xxx.xxx.xx.xxx...
telnet: connect to address xxx.xxx.xx.xxx: Connection refused
telnet: Unable to connect to remote host: Connection refused
==================

[~]$:> dig customdomain.com @xxx.xxx.xx.xxx

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.

el5 <<>> customdomain.com @xxx.xxx.xx.xxx
;; global options: printcmd
;; connection timed out; no servers could be reached
==================

Google support will need to assist with configuring the firewall and routing the IP addresses/ports if the firewall is handled by them. Your software firewall is not currently blocking any traffic:

===============
root@myinsance-gc [~]# iptables -L|grep policy
Chain INPUT (policy ACCEPT)
Chain FORWARD (policy ACCEPT)
Chain OUTPUT (policy ACCEPT)

root@myinsance-gc [~]# iptables -L|grep DROP
root@myinsance-gc [~]#
===============

Can anyone help me with some with configuring WHM/cPanel on GCE?

As a note I'm aware that GCE dosen't allow sending emails, I'm happy to go with SendGrid .

Ian Carroll

unread,
Jun 25, 2014, 8:39:08 PM6/25/14
to gce-dis...@googlegroups.com
You should open those ports using the CLI. (25, 53)
 
 
Ian Carroll
--
© 2014 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.

Alex Szilagyi

unread,
Jun 27, 2014, 10:18:40 AM6/27/14
to Ian Carroll, gce-dis...@googlegroups.com
Thanks Ian!

Now I'm facing a different problem, maybe some of you guys from this group faced this issue already and can point me how you've deal with it.

They replied to me:

It appears your main shared IP is set to xx.xxx.xxx.xxx, which is also defined in the Apache configuration.

<VirtualHost xx.xxx.xxx.xxx:80>
ServerName mydomain.com

That is why your site is not resolving. Also, I checked and it appears xxx.xxx.xx.xxx does not even exist on your server! 
Is this IP address allocated to your server correctly? 

Any help? (always appreciated)


You received this message because you are subscribed to a topic in the Google Groups "gce-discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gce-discussion/9ZuYqD3MM7U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gce-discussio...@googlegroups.com.

To post to this group, send email to gce-dis...@googlegroups.com.

Alex Szilagyi

unread,
Jun 27, 2014, 10:25:13 AM6/27/14
to Ian Carroll, gce-dis...@googlegroups.com
P.S. - the thing is on my apache config ip appears the local IP of the Google Compute Engine instance.

When I added a domain to the cPanel then after trying to view it in the browser it redirects my website to the default cgi page (http:/mydomain.com/cgi-sys/defaultwebpage.cgi)
Reply all
Reply to author
Forward
0 new messages