newsNews: Secure FTP access to download area

 
 
Show feedback again
Latest News
Bazaar upgraded posted by mjflick, Tue May 22 02:49:11 2012 - 0 replies
git / cgit updated posted by mjflick, Fri Dec 9 00:13:52 2011 - 0 replies
New Project Submissions Re-enabled posted by mjflick, Tue Nov 22 21:52:31 2011 - 0 replies
new project submissions disabled posted by karl, Thu Nov 10 00:27:27 2011 - 0 replies
news comments disabled posted by karl, Mon Sep 12 18:16:52 2011 - 0 replies
[171 news in archive]

Secure FTP access to download area

Item posted by Loic Dachary <loic> on Fri Jul 12 17:08:59 2002.

Secure FTP access to download area Many people complained that rsync over ssh were too difficult to deal
with and that scp alone did not have enough functionalities to
properly manage the upload area of Savannah projects. Savannah now
offers the sftp service which is an equivalent of ftp running over an
ssh connection. It should be included in popular ssh distributions. If
it is not the case, we suggest you consider an upgrade.

A typical usage for project MYPROJECT would be:

sftp MYUSERNAME@freesoftware.fsf.org:/MYPROJECT/
Connecting to freesoftware.fsf.org...
Changing to: /uri/

From this point you can PUT files in the upload area and immediately
see them at http://savannah.gnu.org/download/MYPROJECT/. You can also
delete existing files (RM), create directories (MKDIR) or change the
file permissions (CHMOD).

It is our hope that sftp will make your life easier.

Happy hacking, the Savannah Hackers

Comments:

problems : (posted by James Michael DuPont, Sun Jun 1 07:51:13 2003)

try 1 :
sftp mdupont@freesoftware.fsf.org:/intrspctr/
Connecting to freesoftware.fsf.org...
Connection closed

rsync -av --rsh=ssh ./redland-dist.tgz mdupont@freesoftware.fsf.org:/upload/
Sorry, you are only allowed to execute :
- CVS_RSH=ssh cvs commands
- rsync from /cvsroot or /upload.
- rsync to /upload.
- sftp to and from /upload.
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)

any ideas?


Finally figured out how to make this work! (posted by Dan Nelson, Fri Dec 27 22:16:05 2002)

Apparently the sftp-server component is in the wrong place on freesoftware.fsf.org. You need to add the -s flag to force the path that it expects:

sftp -1 -s /usr/lib/sftp-server MYUSERNAME@freesoftware.fsf.org:/MYPROJECT/

This definitely does work; I've tried from a couple different OSes.


the command above is wrong (posted by Daniel Baumann, Sat Jul 27 17:25:16 2002)

the correct command is:

sftp -1 MYUSERNAME@freesoftware.fsf.org:/MYPROJECT/


Authentication (posted by Luca Saiu, Sat Jul 27 15:39:14 2002)

Sorry, when I tried the new SFTP access for upgrading the download area of my project, epsilon I was asked for a password.
My login password for Savannah did not work.

I tried:
sftp positrone@freesoftware.fsf.org:/epsilon/

Have you an hint?

Thanks

-- positrone


   

 

Show feedback again

Back to the top


Powered by Savane 3.1-cleanup