How can I upload web pages or other files?

Good question. There are a few methods of doing so:

Method 1: Secure Copy (scp)

scp is a file transfer utility that comes with ssh. Its syntax is like this:

scp [user@remotehost:]/path/filename [user@remotehost:]/path/[filename]
Square brackets mean that stuff is optional. Here's an example scenario. You have a a directory called web, and your account name is joeblow. You want to put all the files in web in the public_html directory on your yip.org account, whose name is blowj. You would use this commandline:
scp web/* blowj@yip.org:public_html/
Example 2. Your friend dcc'd you filename.zip, and you want to download that to your /WaReZ directory, but call it innocent.zip:
scp blowj@yip.org:filename.zip /WaReZ/innocent.zip

Method 2: sftp

Please take a look at this web page.

Method 3: Port Forwarding

I hope to eventually expand this into a section with screenshots and stuff, but right now I'm just trying to get the general skeleton done. Here's a quick rundown on how to do it:

  1. Tell your ssh program to forward local port 2221 to remote host:port yip.org:21.

  2. If you do not already have an ssh connection open to yip.org, connect now.
  3. This is the part that a lot of people find confusing. Tell your FTP software to connect to localhost:2221 or 127.0.0.1:2221. You will also have to tell your FTP software to run in passive mode.

The advantage of using port forwarding to transfer files is that your cracked webcam software from 1993 or your drag 'n drop commercial FTP software you paid good money for will work with this. The disadvantages are that only the login info will be private - the files transferred can be seen by anyone watching the traffic. This is generally ok as long as you're uploading webpages or other non-sensitive information.

As a side note, yip.org also offers ftp-only accounts that can be restricted to a certain directory. If you simply must use unencrypted ftp, please contact us and we'll hook you up with one.

This section is a work in progress.

Return to the UNIX section.