I first posted this on serverfault, but this forum seem to be more appropriate. http://serverfault.com/questions/345471/fedora-16-ssh-over-the-internet-home-network-help-same-computer-ok
I think I have set up the ssh servers on my home machine, but I don't know how to ssh into it from a client computer on the same network, let alone over the internet.
From the same server, I can do: ssh user@server
It has a static ip 192.168.1.100 which I have added to /etc/hosts. And everything is fine.
If I do so from the client in the same network, I can "ping host", but I can't ssh. It just stays stuck when I type "ssh server".
Also, how would I connect over the internet? I have a "name@dyndns.org" setup for the dynamic IP, but I wouldn't know how to ssh into that and then have it be routed to the 192.168.1.100 computer.
Appreciate any help!
Edit: The things I researched are already written (starting sshd service, editing /etc/hosts, pinging). I haven't been able to find any further info on google, as I'm not sure what I need to look for.
Edit2: This is the output from client of "ssh -vvv server". Thanks.
OpenSSH_5.6p1, OpenSSL 1.0.0e-fips 6 Sep 2011
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to host [192.168.1.100] port 22.
debug1: Connection established.
debug3: Not a RSA1 key file /home/user/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /home/user/.ssh/id_rsa type 1
debug1: identity file /home/user/.ssh/id_rsa-cert type -1
debug1: identity file /home/user/.ssh/id_dsa type -1
debug1: identity file /home/user/.ssh/id_dsa-cert type -1

ssh -vvv hostand copy-paste the output into your post. – Gilles Dec 30 '11 at 23:30