Wednesday, October 1, 2014

How to copy static site to SourceForge hosting

Sources of wisdom:
http://sourceforge.net/p/forge/documentation/Shell%20Service/
http://sourceforge.net/p/forge/documentation/File%20Management/#access-paths


~ $ ssh romanivanov,checkstyle@web.sourceforge.net

Welcome!

        This is a restricted Shell Account.
                                           You can only copy files to/from here.

                                                                                PTY allocation request failed
Shared connection to web.sourceforge.net closed.

~/ $ ssh -t romanivanov,checkstyle@shell.sourceforge.net create
Password:

Requesting a new shell for "romanivanov" and waiting for it to start.
creating... starting...

This is an interactive shell created for user romanivanov,checkstyle.
Use the "timeleft" command to see how much time remains before shutdown.
Use the "shutdown" command to destroy the shell before the time limit.
For path information and login help, type "sf-help".

[romanivanov@shell-22008 ~]$ uname -a
Linux shell-22008 2.6.18-308.8.2.el5.028stab101.1 #1 SMP Sun Jun 24 20:25:35 MSD 2012 x86_64 x86_64 x86_64 GNU/Linux
[romanivanov@shell-22008 ~]$ ls -la
total 32
drwx------ 3 romanivanov users 4096 Feb  1  2011 .
drwxr-xr-x 3 root        root  4096 Sep  9 04:27 ..
-rw-r--r-- 1 romanivanov users   33 Jan 22  2009 .bash_logout
-rw-r--r-- 1 romanivanov users  176 Jan 22  2009 .bash_profile
-rw-r--r-- 1 romanivanov users  124 Jan 22  2009 .bashrc
-rw-r--r-- 1 romanivanov users  515 Jun 15  2008 .emacs
drwxr-xr-x 4 romanivanov users 4096 Dec  9  2010 .mozilla
-rw-r--r-- 1 romanivanov users  633 Jun 13  2009 .zshrc
lrwxrwxrwx 1 root        root    30 Apr 26  2012 userweb -> /home/userweb/r/ro/romanivanov

[romanivanov@shell-22008 ~]$ cd /home/project-web/checkstyle/htdocs/

========================

copy big files from local PC:

~/ $ scp report-openjdk8.tar.gz  romanivanov,checkstyle@web.sourceforge.net:

No comments:

Post a Comment