[ https://jira.fiware.org/browse/HELP-13268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez updated HELP-13268:
----------------------------------
Description:
Created question in FIWARE Q/A platform on 05-01-2018 at 16:01
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/48116167/ssh-permission-denied-with-a-right-key
+Question:+
SSH Permission denied with a right key
+Description:+
I'm trying to make a ssh connection with Fiware framework, I know that the key that I generate to make that connection is correct however, it persists to give me the "Permission denied (publickey). " message.
I turned on the verbose for the ssh command:
OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to [CNAME HOST] [FLOATING IP] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file fiware_access_ubuntu.pem type -1
debug1: key_load_public: No such file or directory
debug1: identity file fiware_access_ubuntu.pem-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.2
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.1
debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.1 pat OpenSSH* compat 0x04000000
debug1: Authenticating to [CNAME HOST]:22 as 'ubuntu'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: diffie-hellman-group-exchange-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<8192<8192) sent
debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: got SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:fwSMVuAzz7DzGVnPBCzFbl7FyuXuhGlc8x0GuogTi+U
debug1: Host 'blueframe.materdynamics.com' is known and matches the ECDSA host key.
debug1: Found key in /home/jramos/.ssh/known_hosts:1
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug1: SSH2_MSG_SERVICE_ACCEPT received
##################################################################################
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
#################################################################################
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: fiware_access_ubuntu.pem
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).
Extra information:
drwxr-xr-x 0 jramos jramos 4096 Dez 22 12:21 /home/jramos
drwxr-xr-x 0 root root 4096 Dez 15 17:38 /home/jramos/..
drwxr-xr-x 0 root root 4096 Dez 15 17:35 /home/jramos/../..
drwx------ 0 jramos jramos 4096 Jan 5 11:47 /home/jramos/.ssh
-rw------- 1 jramos jramos 895 Jan 2 16:59 /home/jramos/.ssh/authorized_keys
-rw------- 1 jramos jramos 895 Jan 2 16:59 authorized_keys
-rw------- 1 jramos jramos 3243 Jan 5 12:15 id_rsa
-rw------- 1 jramos jramos 398 Jan 5 14:49 id_rsa.pub
-rw------- 1 jramos jramos 2214 Jan 5 12:20 known_hosts
-rw------- 1 jramos jramos 444 Jan 5 11:32 known_hosts.old
was:
Created question in FIWARE Q/A platform on 05-01-2018 at 16:01
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/48116167/ssh-permission-denied-with-a-right-key
+Question:+
SSH Permission denied with a right key
+Description:+
I'm trying to make a ssh connection with Fiware framework, I know that the key that I generate to make that connection is correct however, it persists to give me the "Permission denied (publickey). " message.
I turned on the verbose for the ssh command:
OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to [CNAME HOST] [FLOATING IP] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file fiware_access_ubuntu.pem type -1
debug1: key_load_public: No such file or directory
debug1: identity file fiware_access_ubuntu.pem-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.2
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.1
debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.1 pat OpenSSH* compat 0x04000000
debug1: Authenticating to [CNAME HOST]:22 as 'ubuntu'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: diffie-hellman-group-exchange-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<8192<8192) sent
debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: got SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:fwSMVuAzz7DzGVnPBCzFbl7FyuXuhGlc8x0GuogTi+U
debug1: Host 'blueframe.materdynamics.com' is known and matches the ECDSA host key.
debug1: Found key in /home/jramos/.ssh/known_hosts:1
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug1: SSH2_MSG_SERVICE_ACCEPT received
##################################################################################
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
#################################################################################
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: fiware_access_ubuntu.pem
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).
Extra information:
drwxr-xr-x 0 jramos jramos 4096 Dez 22 12:21 /home/jramos
drwxr-xr-x 0 root root 4096 Dez 15 17:38 /home/jramos/..
drwxr-xr-x 0 root root 4096 Dez 15 17:35 /home/jramos/../..
drwx------ 0 jramos jramos 4096 Jan 5 11:47 /home/jramos/.ssh
-rw------- 1 jramos jramos 895 Jan 2 16:59 /home/jramos/.ssh/authorized_keys
-rw------- 1 jramos jramos 895 Jan 2 16:59 authorized_keys
-rw------- 1 jramos jramos 3243 Jan 5 12:15 id_rsa
-rw------- 1 jramos jramos 398 Jan 5 14:49 id_rsa.pub
-rw------- 1 jramos jramos 2214 Jan 5 12:20 known_hosts
-rw------- 1 jramos jramos 444 Jan 5 11:32 known_hosts.old
HD-Enabler: Unknown
> [fiware-stackoverflow] SSH Permission denied with a right key
> -------------------------------------------------------------
>
> Key: HELP-13268
> URL: https://jira.fiware.org/browse/HELP-13268
> Project: Help-Desk
> Issue Type: Monitor
> Components: FIWARE-TECH-HELP
> Reporter: Backlog Manager
> Assignee: Backlog Manager
> Labels: bash, fiware, ssh, ubuntu
>
> Created question in FIWARE Q/A platform on 05-01-2018 at 16:01
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/48116167/ssh-permission-denied-with-a-right-key
> +Question:+
> SSH Permission denied with a right key
> +Description:+
> I'm trying to make a ssh connection with Fiware framework, I know that the key that I generate to make that connection is correct however, it persists to give me the "Permission denied (publickey). " message.
> I turned on the verbose for the ssh command:
> OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: /etc/ssh/ssh_config line 19: Applying options for *
> debug1: Connecting to [CNAME HOST] [FLOATING IP] port 22.
> debug1: Connection established.
> debug1: key_load_public: No such file or directory
> debug1: identity file fiware_access_ubuntu.pem type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file fiware_access_ubuntu.pem-cert type -1
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.2
> debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.1
> debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.1 pat OpenSSH* compat 0x04000000
> debug1: Authenticating to [CNAME HOST]:22 as 'ubuntu'
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug1: kex: algorithm: diffie-hellman-group-exchange-sha256
> debug1: kex: host key algorithm: ecdsa-sha2-nistp256
> debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
> debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<8192<8192) sent
> debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
> debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
> debug1: got SSH2_MSG_KEX_DH_GEX_REPLY
> debug1: Server host key: ecdsa-sha2-nistp256 SHA256:fwSMVuAzz7DzGVnPBCzFbl7FyuXuhGlc8x0GuogTi+U
> debug1: Host 'blueframe.materdynamics.com' is known and matches the ECDSA host key.
> debug1: Found key in /home/jramos/.ssh/known_hosts:1
> debug1: rekey after 4294967296 blocks
> debug1: SSH2_MSG_NEWKEYS sent
> debug1: expecting SSH2_MSG_NEWKEYS
> debug1: rekey after 4294967296 blocks
> debug1: SSH2_MSG_NEWKEYS received
> debug1: SSH2_MSG_EXT_INFO received
> debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
> debug1: SSH2_MSG_SERVICE_ACCEPT received
> ##################################################################################
> NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
> before using it, and your use will be strictly limited to that indicated in the
> authorisation.
> Unauthorised access to this system or improper use of the same is prohibited and
> is against the FIWARE Terms & Conditions Policy and the legislation in force. The
> use of this system may be monitored.
> #################################################################################
> debug1: Authentications that can continue: publickey
> debug1: Next authentication method: publickey
> debug1: Trying private key: fiware_access_ubuntu.pem
> debug1: Authentications that can continue: publickey
> debug1: No more authentication methods to try.
> Permission denied (publickey).
> Extra information:
> drwxr-xr-x 0 jramos jramos 4096 Dez 22 12:21 /home/jramos
> drwxr-xr-x 0 root root 4096 Dez 15 17:38 /home/jramos/..
> drwxr-xr-x 0 root root 4096 Dez 15 17:35 /home/jramos/../..
> drwx------ 0 jramos jramos 4096 Jan 5 11:47 /home/jramos/.ssh
> -rw------- 1 jramos jramos 895 Jan 2 16:59 /home/jramos/.ssh/authorized_keys
> -rw------- 1 jramos jramos 895 Jan 2 16:59 authorized_keys
> -rw------- 1 jramos jramos 3243 Jan 5 12:15 id_rsa
> -rw------- 1 jramos jramos 398 Jan 5 14:49 id_rsa.pub
> -rw------- 1 jramos jramos 2214 Jan 5 12:20 known_hosts
> -rw------- 1 jramos jramos 444 Jan 5 11:32 known_hosts.old
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy