Problemas con scp

Imagen de garciasegu
0 puntos

Hola a todos, estoy tratando de subir un archivo con el scp a un servidor remoto.
El comando que uso es el siguiente:

scp -v -p 24522 pruebagcommand.htm root@10.20.30.444:/var/www/html/banca/gestion/htmngf

Estoy parado en el directorio donde se encuentra el archivo pruebagcommand.htm que deseo subir al servidor.
Pero obtengo el siguiente error:

root@10.20.30.444's password: 
Permission denied, please try again.
Connection closed by 10.20.30.444
lost connection

Aclaro que por SSH me puedo conectar normalmente al servidor, es decir mediante el comando ssh root@10.20.30.444 -p 24522 me puedo loguear correctamente, asi que no es que esté ingresando mal el password.
No entiendo porque si ingreso bien el password de root me envia dicho eror y no me deja copiar con el comando scp.

Acá les dejo una captura de lo que obtengo agregandole la opción -v.

scp -v -p 24522 pruebagcommand.htm root@10.20.30.444:/var/www/html/banca/gestion/htmngf
Executing: program /usr/bin/ssh host 10.20.30.444, user root, command scp -v -p -d -t /var/www/html/banca/gestion/htmngf
OpenSSH_5.1p1 Debian-5ubuntu1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 10.20.30.444 [10.20.30.444] port 22.
debug1: Connection established.
debug1: identity file /home/arturo/.ssh/identity type -1
debug1: identity file /home/arturo/.ssh/id_rsa type -1
debug1: identity file /home/arturo/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.0
debug1: match: OpenSSH_5.0 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-5ubuntu1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc 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
The authenticity of host '10.20.30.444 (10.20.30.444)' can't be established.
RSA key fingerprint is c4:57:d8:4e:5e:5a:ca:b2:f7:8a:0e:2e:4f:bb:6b:84.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '190.144.43.10' (RSA) to the list of known hosts.
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
No credentials cache found
debug1: Next authentication method: publickey
debug1: Trying private key: /home/arturo/.ssh/identity
debug1: Trying private key: /home/arturo/.ssh/id_rsa
debug1: Trying private key: /home/arturo/.ssh/id_dsa
debug1: Next authentication method: password
root@10.20.30.444's password: 
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
Permission denied, please try again.
root@10.20.30.444's password: 

Por favor! Alguien con el mismo problema o que tenga una idea de porque pasa esto me ayude. Agradeceré cualquier ayuda.
Gracias!