Thanks for all of the replies.
Now that I have access to the computer again, I have tried some of the things that have been suggested. Running it as root seems to work, which is good.
Also, eSlinux, thanks for the help with the config. I should stop getting errors like that.
UPDATE: Okay, so now it doesn't work locally. Now I'm getting a needpriv 0 and "Connection refused" errors. I haven't changed anything, I just restarted the process.
UPDATE 2: Found the issue. I was experimenting with changing the port number for something, and I forgot to change it back... Rookie mistake, sorry.
Now, it works locally, but I want it to work on other networks. I tried connecting to it on another network, and this is what I get:
Code:
$ ssh [my ip]
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug3: cipher ok: aes128-ctr [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: cipher ok: aes192-ctr [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: cipher ok: aes256-ctr [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: cipher ok: arcfour256 [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: cipher ok: arcfour128 [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: cipher ok: aes128-cbc [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: cipher ok: 3des-cbc [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: ciphers ok: [aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug2: ssh_connect: needpriv 0
debug1: Connecting to [my ip] [[my ip]] port 80.
debug1: Connection established.
debug1: could not open key file '/etc/ssh/ssh_host_key': No such file or directory
debug1: could not open key file '/etc/ssh/ssh_host_dsa_key': Permission denied
debug1: could not open key file '/etc/ssh/ssh_host_ecdsa_key': Permission denied
debug1: could not open key file '/etc/ssh/ssh_host_rsa_key': Permission denied
debug1: could not open key file '/etc/ssh/ssh_host_dsa_key': Permission denied
debug1: could not open key file '/etc/ssh/ssh_host_ecdsa_key': Permission denied
debug1: could not open key file '/etc/ssh/ssh_host_rsa_key': Permission denied
debug1: identity file /home/jeremy/.ssh/identity type -1
debug1: identity file /home/jeremy/.ssh/identity-cert type -1
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/jeremy/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/jeremy/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/jeremy/.ssh/id_rsa-cert type -1
debug1: identity file /home/jeremy/.ssh/id_dsa type -1
debug1: identity file /home/jeremy/.ssh/id_dsa-cert type -1
After that, it just stops, and I have to ^C out of it. Could anyone tell me what is wrong? Thanks.