Frequently Asked Questions

The NearlyFreeSpeech.NET FAQ (*)

Uploading (*)

What is the connection information to upload files to my web site?

How do I upload my content to my site?

Can I access my web site via ssh?

What directory do I upload my web site's files to?

What hostname should I use for SFTP?

What program should I use to connect via ssh?

Why do I have to enable FTP in two places to get it to work?

What is SFTP?

Can I configure my ssh connection to use a public key?

I tried to SFTP to ftp.xxx.nearlyfreespeech.net and it failed. Why?

What are the fingerprints for the NearlyFreeSpeech.NET ssh keys?

I am having trouble uploading with FTP. What could be wrong?

What if I think the name of your ssh server is too long?

Easy way: You can use nfsnssh.com instead of ssh.phx.nearlyfreespeech.net if you prefer.

Better way: OpenSSH allows the creation of "nicknames" which serve this function admirably. To use this feature, create (or edit) the file ~/.ssh/config (on the client machine you will be connecting from, not ours!) and add content like this:

Host nfsnssh
        Hostname ssh.phx.nearlyfreespeech.net
        Port 22

With this done, you can use "nfsnssh" as if it were a hostname in ssh, scp, and sftp. For example, just use ssh mylogin_mysite@nfsnssh to connect to mysite as mylogin.

You can even use the User option to create per-site nicknames to make commands even shorter:

Host *_nfsn
        Hostname ssh.phx.nearlyfreespeech.net
        Port 22

Host mysite_nfsn
        User mylogin_mysite

Host othersite_nfsn
        User mylogin_othersite
Then you just ssh mysite_nfsn to connect to mysite and ssh othersite_nfsn to connect to othersite. It doesn't get much shorter than that! See the ssh_config man page for complete details.

If you don't happen to be using OpenSSH, a lot of other ssh tools offer similar options, many with graphical interfaces that make establishing a connection as simple as clicking, regardless of the hostname.

I can connect to NearlyFreeSpeech.NET just fine, so why is your FTP or ssh server unreachable or timing out?

Is automated SSH/FTP access to the system allowed?