Thanks Ulrich.

The issue is that I can connect and start the sftp session, but any sftp
command fails. This is the log:

OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to web.sourceforge.net [216.34.181.70] port 22.
debug1: Connection established.
debug1: identity file /home/cecilio/.ssh/id_rsa type 1
debug1: identity file /home/cecilio/.ssh/id_rsa-cert type -1
debug1: identity file /home/cecilio/.ssh/id_dsa type -1
debug1: identity file /home/cecilio/.ssh/id_dsa-cert type -1
debug1: identity file /home/cecilio/.ssh/id_ecdsa type -1
debug1: identity file /home/cecilio/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/cecilio/.ssh/id_ed25519 type -1
debug1: identity file /home/cecilio/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH_5* compat 0x0c000000
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<3072<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: Server host key: RSA b0:a8:eb:30:ce:1a:0e:6a:4d:7a:6b:3a:0a:c6:27:60
debug1: Host 'web.sourceforge.net' is known and matches the RSA host key.
debug1: Found key in /home/cecilio/.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: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/cecilio/.ssh/id_rsa
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug1: Trying private key: /home/cecilio/.ssh/id_dsa
debug1: Trying private key: /home/cecilio/.ssh/id_ecdsa
debug1: Trying private key: /home/cecilio/.ssh/id_ed25519
debug1: Next authentication method: keyboard-interactive
Password:
debug1: Authentication succeeded (keyboard-interactive).
Authenticated to web.sourceforge.net ([216.34.181.70]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessi...@openssh.com
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LC_PAPER = es_ES.UTF-8
debug1: Sending env LC_ADDRESS = es_ES.UTF-8
debug1: Sending env LC_MONETARY = es_ES.UTF-8
debug1: Sending env LC_NUMERIC = es_ES.UTF-8
debug1: Sending env LC_TELEPHONE = es_ES.UTF-8
debug1: Sending env LC_IDENTIFICATION = es_ES.UTF-8
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending env LC_MEASUREMENT = es_ES.UTF-8
debug1: Sending env LC_TIME = es_ES.UTF-8
debug1: Sending env LC_NAME = es_ES.UTF-8
debug1: Sending subsystem: sftp
sftp> #--------------------------------------------------------------------
sftp> # upload documentation to wxCode
sftp> #--------------------------------------------------------------------
sftp>
sftp> lcd /datos/USR/lm/projects/wxmidi/docs/html
sftp> cd /home/project-web/w/wx/wxcode/htdocs/docs/wxmidi
sftp> mkdir search
Couldn't create directory: Permission denied
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
Transferred: sent 4184, received 3080 bytes, in 2.8 seconds
Bytes per second: sent 1474.3, received 1085.3
debug1: Exit status 0


It fails trying to create subfolder 'search'. Here is a log just trying to
upload files:

sftp>
sftp> lcd /datos/USR/lm/projects/wxmidi/docs/html
sftp> cd /home/project-web/w/wx/wxcode/htdocs/docs/wxmidi
sftp> mput *.*
remote
open("/home/project-web/w/wx/wxcode/htdocs/docs/wxmidi/annotated.html"):
Permission denied
remote
open("/home/project-web/w/wx/wxcode/htdocs/docs/wxmidi/annotated.js"):
Permission denied
remote open("/home/project-web/w/wx/wxcode/htdocs/docs/wxmidi/bc_s.png"):
Permission denied
...


There must some issue with my permissions.

Any ideas?

Thanks,
Cecilio


2015-01-10 15:02 GMT+01:00 Ulrich Telle <ulrich.te...@gmx.de>:

> Am 10.01.2015 12:48, schrieb cecilio:
> > I'm currently releasing a new version of my component wxMidi. I would
> > like to upload the doxygen generated documentation in the wxCode
> > component page. According to instructions in the template page
> > (http://wxcode.sourceforge.net/template.php) I should upload it to
> > /home/project-web/wxcode/htdocs/docs/ and create a subfolder named
> > wxmidi.
>
> A subfolder wxmidi for the documentation of your component wxmidi
> already exists:
>
> /home/project-web/w/wx/wxcode/htdocs/docs/wxmidi
>
> It was created by you (SourceForge user name cecilios) about 6 years ago.
>
> As you see, the path looks a bit different. However, the path
>
> /home/project-web/wxcode/htdocs/docs/wxmidi
>
> should work, too.
>
> > I successfully connected to web.sourceforge.net via sftp and was able
> > to cd to /home/project-web/wxcode/htdocs/docs/, but when I try to
> > create folder wxmidi or to upload any file I get "Permission denied"
> > error messages.
> >
> > What user, password should I use?. I'm using my sourceforge user/pwd.
>
> Using your SourceForge user cecilios should work.
>
> > I also tried with my wxCode usr/pwd (by the way, the user is the same)
>
> The wxcode user is only used to let you modify the description of your
> component.
>
> Regards,
>
> Ulrich
>
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> wxCode-users mailing list
> wxCode-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxcode-users
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to