savannah-hackers
[Top][All Lists]
Advanced

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

[Savannah-hackers] Re: [support #102466] sftp problem


From: Martin Pala
Subject: [Savannah-hackers] Re: [support #102466] sftp problem
Date: Tue, 23 Sep 2003 09:26:40 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030908 Debian/1.4-4

Same result:

unicorn:~# sftp -1v address@hidden:/monit
Connecting to subversions.gnu.org...
OpenSSH_3.6.1p2 Debian 1:3.6.1p2-9, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for subversions.gnu.org
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: Connecting to subversions.gnu.org [199.232.41.2] port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/identity type 0
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.2.1
debug1: match: OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.2.1 pat OpenSSH*
debug1: Local version string SSH-1.5-OpenSSH_3.6.1p2 Debian 1:3.6.1p2-9
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host 'subversions.gnu.org' is known and matches the RSA1 host key.
debug1: Found key in /root/.ssh/known_hosts:20
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: RSA authentication using agent refused.
debug1: Trying RSA authentication with key '/root/.ssh/identity'
debug1: Received RSA challenge from server.
debug1: Sending response to host key RSA challenge.
debug1: Remote: RSA authentication accepted.
debug1: RSA authentication accepted by server.
debug1: Sending command: /usr/lib/sftp-server
debug1: Entering interactive session.
debug1: fd 0 setting O_NONBLOCK
/usr/sbin/chroot: cannot execute /usr/lib/sftp-server: Permission denied
debug1: Transferred: stdin 9, stdout 0, stderr 73 bytes in 2.5 seconds
debug1: Bytes per second: stdin 3.6, stdout 0.0, stderr 29.4
debug1: Exit status 1
Connection closed


The problem is in this line:

/usr/sbin/chroot: cannot execute /usr/lib/sftp-server: Permission denied


Thanks,
Martin

address@hidden wrote:

Support Request #102466, was updated on mar 23.09.2003 ŕ 00:41
You can respond by visiting: http://savannah.gnu.org/support/?func=detailsupport&support_id=102466&group_id=11

Category: SSH Connection
Status: Open
Priority: 5
Summary: sftp problem

By: yeupou
Date: mar 23.09.2003 ŕ 09:09
Logged In: YES user_id=1896
Browser: Mozilla/5.0 (compatible; Konqueror/3; Linux 2.4.18-27.7.x.cern; i686)

Would you try xwith sftp -1 address@hidden/monit instead?
----------------------------------------------------------------------

By: martinp
Date: mar 23.09.2003 ŕ 00:41
Logged In: YES user_id=8407
Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030908 
Debian/1.4-4

Hello,



i have problem with sftp access to download area of our

project. I saw the discussion on savannah's mailinglist

to this topic - nothing helped (it seeems that it

happens in the case that the user has no real account).

Here is mine output from sftp:



unicorn:~/cvs# sftp -1v

address@hidden:/upload/monit

Connecting to subversions.gnu.org...

OpenSSH_3.6.1p2 Debian 1:3.6.1p2-9, SSH protocols

1.5/2.0, OpenSSL 0x0090702f

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: Applying options for subversions.gnu.org

debug1: Rhosts Authentication disabled, originating

port will not be trusted.

debug1: Connecting to subversions.gnu.org

[199.232.41.2] port 22.

debug1: Connection established.

debug1: identity file /root/.ssh/identity type 0

debug1: Remote protocol version 1.99, remote software

version OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.2.1

debug1: match: OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.2.1

pat OpenSSH*

debug1: Local version string SSH-1.5-OpenSSH_3.6.1p2

Debian 1:3.6.1p2-9

debug1: Waiting for server public key.

debug1: Received server public key (768 bits) and host

key (1024 bits).

debug1: Host 'subversions.gnu.org' is known and matches

the RSA1 host key.

debug1: Found key in /root/.ssh/known_hosts:20

debug1: Encryption type: 3des

debug1: Sent encrypted session key.

debug1: Installing crc compensation attack detector.

debug1: Received encrypted confirmation.

debug1: RSA authentication using agent refused.

debug1: Trying RSA authentication with key

'/root/.ssh/identity'

debug1: Received RSA challenge from server.

debug1: Sending response to host key RSA challenge.

debug1: Remote: RSA authentication accepted.

debug1: RSA authentication accepted by server.

debug1: Sending command: /usr/lib/sftp-server

debug1: Entering interactive session.

debug1: fd 0 setting O_NONBLOCK

/usr/sbin/chroot: cannot execute /usr/lib/sftp-server:

Permission denied

debug1: Transferred: stdin 9, stdout 0, stderr 73 bytes

in 2.2 seconds

debug1: Bytes per second: stdin 4.0, stdout 0.0, stderr

32.8

debug1: Exit status 1

Connection closed







Thanks for help,

Martin Pala

----------------------------------------------------------------------
You can respond by visiting: http://savannah.gnu.org/support/?func=detailsupport&support_id=102466&group_id=11

_______________________________________________
 Message sent via/by Savannah
 http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]