ssh connection using the cpanel server

0

I have an account cpanel server, I would like to make a ssh connection from my local computer to the remote server of my account, I am using ubuntu 16.04, however I could not make the connection. When I login to my cpanel account I will:

  

Security - > ssh access - > manage ssh keys - > import key

I import the keys generated from my local machine in the directory

  

~ / .ssh

with the command

  

ssh-keygen

where a private key is created in the previous directory and published corresponding to the files

  

id_rsa

and

  

id_rsa.pub

Going back to cpanel ssh, I import the passwords where the public and private keys are requested respectively, then I authorize them and try to enter them by ssh using the command line

ssh -vvv usernameservercpanel@ipservidorcpanel

but I get the following message from the terminal

penSSH_7.2p2 Ubuntu-4ubuntu2.4, 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 *
debug2: resolving "<ipserver>" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to <ipserver> [<ipserver>] port 22.
debug1: Connection established.
debug1: identity file /home/<userlocalmachine>/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/<userlocalmachine>/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/<userlocalmachine>/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/<userlocalmachine>/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/<userlocalmachine>/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/<userlocalmachine>/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/<userlocalmachine>/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/<userlocalmachine>/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.4
ssh_exchange_identification: read: Connection reset by peer

I'm missing a file from my local machine, if it's not with the ssh-keygen

command     
asked by MeEncantanLosPerritos 17.08.2018 в 07:35
source

0 answers