Just nu i M3-nätverket
Gå till innehåll

Problem med sftp-inloggning


Tien

Rekommendera Poster

Jag har problem med sftp inloggning till en ubuntu server. ssh fungerar som vanligt, sftp fungerar för root (första inlagda användare) men sftp fungerar inte med andra användare.

Några idéer?

 

Jag bifogar lite loggning:

 

[log][mattias@localhost ~]$ sftp -v mattias@*****.com

Connecting to ****.com...

OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: Applying options for *

debug1: Connecting to ****.com [****] port 22.

debug1: Connection established.

debug1: identity file /home/mattias/.ssh/id_rsa type -1

debug1: identity file /home/mattias/.ssh/id_dsa type -1

debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-3ubuntu1

debug1: match: OpenSSH_5.1p1 Debian-3ubuntu1 pat OpenSSH*

debug1: Enabling compatibility mode for protocol 2.0

debug1: Local version string SSH-2.0-OpenSSH_5.2

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: Host '****.com' is known and matches the RSA host key.

debug1: Found key in /home/mattias/.ssh/known_hosts:2

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,password

debug1: Next authentication method: publickey

debug1: Trying private key: /home/mattias/.ssh/id_rsa

debug1: Trying private key: /home/mattias/.ssh/id_dsa

debug1: Next authentication method: password

mattias@****.com's password:

debug1: Authentication succeeded (password).

debug1: channel 0: new [client-session]

debug1: Requesting no-more-sessions@openssh.com

debug1: Entering interactive session.

debug1: Sending subsystem: sftp

debug1: client_input_channel_req: channel 0 rtype exit-signal reply 0

debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0

debug1: channel 0: free: client-session, nchannels 1

debug1: fd 0 clearing O_NONBLOCK

Transferred: sent 1376, received 1960 bytes, in 0.1 seconds

Bytes per second: sent 23161.5, received 32991.7

debug1: Exit status -1

Connection closed[/log]

Lagt till LOG-taggar

När du har klistrat in en logg så var vänlig och markera loggen och tryck sedan på LOG-knappen som finns på samma rad som :thumbsdown::thumbsup: i inläggsfönstret.

Cecilia - Moderator för Linux & Unix

 

[inlägget ändrat 2009-06-29 12:49:03 av Cecilia]

Länk till kommentar
Dela på andra webbplatser

Arkiverat

Det här ämnet är nu arkiverat och är stängt för ytterligare svar.

×
×
  • Skapa nytt...