|Version 11 (modified by moorman, 5 years ago)|
SFTP (Secure file transfer protocol) is part of the SSH protocol suite. SFTP is not the same as FTP; SFTP is a modern, encrypted protocol and FTP is an old, unencrypted protocol. We do not support FTP.
SFTP clients include:
- sftp, a command-line client included in OpenSSH, available on Mac OS X, Linux, and BSD natively; and on MS Windows through Cygwin.
- psftp, a command-line client included in PuTTY, available for MS Windows.
- WinSCP, a graphical client available for MS Windows.
- Filezilla, a graphical client available for MS Windows, Mac OS X, and Linux.
Examples are provided for sftp.
For managing file releases
- FRS Hostname: frs.sourceforge.net
- Path: uploads/
- Username: USERNAME,PROJECTNAME
- USERNAME refers to the SourceForge.net registered account name
- PROJECTNAME refers to the UNIX name of a project registered on SourceForge.net
- Password: SourceForge.net user account Password
An example session might look like (where USERNAME="jsmith", PROJECTNAME="fooproject"):
[jsmith@linux ~]$ sftp jsmith,firstname.lastname@example.org Connecting to frs.sourceforge.net... The authenticity of host 'frs.sourceforge.net (18.104.22.168)' can't be established. RSA key fingerprint is 68:b3:26:02:a0:07:e4:78:d4:ec:7f:2f:6a:4d:32:c5. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'frs.sourceforge.net,22.214.171.124' (RSA) to the list of known hosts. jsmith,email@example.com's password: sftp> cd uploads sftp> put FILE Uploading FILE to /incoming/j/js/jsmith/uploads/FILE FILE 100% 241 0.2KB/s 00:01 sftp> exit
To use sftp in batch mode, you need 3 things:
- Use key-based authentication, since password entry can't safely be automated.
- Have the batch file in the form of "put filename1 \n put filename 2 \n etc..."
- Use username,groupname so that access to the files afterwards is possible.