PHPCloud: Permission denied (publickey)

General discussion forum for the Zend Server

PHPCloud: Permission denied (publickey)

Postby unsiker911 on Thu Jan 17, 2013 12:57 pm

Hi, please help me with problem.
I upload my public key to PHPCloud.
Check current Public Key Fingerprint - evetything ok.
And try connect to server:
Code: Select all
sftp -i ~/.ssh/id_rsa ***.my.phpcl0ud.c0m


Code: Select all
OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to ***.my.phpcl0ud.c0m [50.17.52.25] port 22.
debug1: Connection established.
debug1: identity file /home/***user***/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/***user***/.ssh/id_rsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3p1 Debian-3ubuntu7-devpaas1
debug1: match: OpenSSH_5.3p1 Debian-3ubuntu7-devpaas1 pat OpenSSH_5*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.0p1 Debian-3ubuntu1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA 56:4c:10:cc:c9:3d:b3:9d:4d:6a:f1:c7:6b:03:65:35
debug1: Host '***.my.phpcl0ud.c0m' is known and matches the RSA host key.
debug1: Found key in /home/***user***/.ssh/known_hosts:14
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
###################################################
##             *****PRODUCTION*****       ##
##            HOSTOS  INSTANCE       ##
##        This server is maintained              ##
##   by the Cloud team of Zend Technologies      ##
##         The Host is managed using Puppet      ##
##        _____________________________          ##
##                                               ##
##           Unauthorized access to              ##
##          this system is prohibited            ##
##        _____________________________          ##
##                                               ##
##        Any changes should be reported         ##
##           to clOud-paas-ops(a)zend . com      ##
##               HOSTOS  INSTANCE                ##
##             *****PRODUCTION*****              ##
###################################################
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/***user***/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Offering RSA public key: ***user***@mail . com
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).
Couldn't read packet: Connection reset by peer


What the problem with ssh connection?
unsiker911
 
Posts: 1
Joined: Thu Jan 17, 2013 12:19 pm

Re: PHPCloud: Permission denied (publickey)

Postby mavsoftware on Sun Jan 20, 2013 11:46 am

Hi. Try in this way replace *** with your container name
first: chmod 400 zendcloud-***.pem
second: sftp -v -i /.ssh/zendcloud-***.pem ***at***.my.phpcl0ud.c0m
mavsoftware
 
Posts: 2
Joined: Sun Jan 20, 2013 11:41 am


Return to Zend Server

Who is online

Users browsing this forum: No registered users and 10 guests

cron