[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problema com SCP



sim.
PermitRootLogin yes
quando essa opção está desabilitada, nem pede senha. no meu pede senha, ai digito nem faço tranferencia.

olha só o verbose

samuel@passat:~/Desktop$ scp -v ddd root@variant:/tmp
Executing: program /usr/bin/ssh host variant, user root, command scp -v -t /tmp
OpenSSH_4.3p2 Debian-2, OpenSSL 0.9.8b 04 May 2006
debug1: Reading configuration data /home/usuarios/samuel/.ssh/config
debug1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to variant [192.168.1.101] port 22.
debug1: Connection established.
debug1: identity file /home/usuarios/samuel/.ssh/identity type 0
debug1: identity file /home/usuarios/samuel/.ssh/id_rsa type 1
debug1: identity file /home/usuarios/samuel/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3p2 Debian-5.1
debug1: match: OpenSSH_4.3p2 Debian-5.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-2
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
debug1: Host 'variant' is known and matches the RSA host key.
debug1: Found key in /home/usuarios/samuel/.ssh/known_hosts:1
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,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: /home/usuarios/samuel/.ssh/id_rsa
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Offering public key: /home/usuarios/samuel/.ssh/id_dsa
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: keyboard-interactive
Password:
debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = pt_BR
debug1: Sending command: scp -v -t /tmp


samuel@passat:~/Desktop$ debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.2 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 0




On 12/4/06, Tiago Saboga <tiagosaboga@terra.com.br > wrote:
Em Segunda 04 Dezembro 2006 13:01, Samuel Rios Carvalho escreveu:
> Pessoal, me ajudem.
> quando eu vou fazer um scp para um servidor meu
>
> scp xxxx root@servidor:/opt
>
> ele pede senha e tudo, ai digito a senha e o arquivo não é transferido.
> alguém sabe o que pode ser?
> eu coloquei o log em DEBUG3 (que é o mais alto nivel pra log) e mesmo assim
> num apareceu nada de erro.
> alguém sabe o que pode ser?
> estou com este problema em 2 servidores. e só com o root, os outros

se é só com o root, você olhou a opção correspondente no /etc/ssh/sshd-config
(algo como allowrootauth) ?

tiago.




--
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  Utilize segurança em suas conversas por IMs  
     (ICQ, MSN Messenger, Yahoo, Jabber, etc)
                   - SCATTERCHAT -                        
http://www.scatterchat.com/download.html
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Reply to: