Re: how to connect desktop and netbook through router?
It can but is not the tool of choice - NFS is normally used for *nix networks.
On to SSH. I am a little confused that you tried to ssh localhost and yet more confused that port 22 was closed. My initial response would be to ping localhost (as in "ping localhost") to see whether it is running at all!). Secondly there are two config files for ssh, namely /etc/ssh/ssh_config and /etc/ssh/sshd_config - make sure that any changes are reflected in either of these two files. If in doubt you can always go back to the original, 'cos no doubt you made copies of them before you started editing (!?!).
As security - I understand that you want to get it to work, but with ssh with no password and port 22 and no key it is only a matter of time before you get hacked and kiss either (or both) machines good-bye. Using a different port is a very basic yet effective method of locking out large number of bots that scan for an open port 22 on the internet. To do so, simply change the entry for Port22 in both the config files mentioned above and restart the ssh daemon. Obviously you will need to specify the new port in the ~/.unison config file as well. Better still would be an automatic ssh connection using keys, but cross that bridge when you come to it... The port issue, however, I'd do straight away!
I don't understand how samba can be used with Linux+Windows but not Linux+Linux, as is my case.
On to SSH. I am a little confused that you tried to ssh localhost and yet more confused that port 22 was closed. My initial response would be to ping localhost (as in "ping localhost") to see whether it is running at all!). Secondly there are two config files for ssh, namely /etc/ssh/ssh_config and /etc/ssh/sshd_config - make sure that any changes are reflected in either of these two files. If in doubt you can always go back to the original, 'cos no doubt you made copies of them before you started editing (!?!).
As security - I understand that you want to get it to work, but with ssh with no password and port 22 and no key it is only a matter of time before you get hacked and kiss either (or both) machines good-bye. Using a different port is a very basic yet effective method of locking out large number of bots that scan for an open port 22 on the internet. To do so, simply change the entry for Port22 in both the config files mentioned above and restart the ssh daemon. Obviously you will need to specify the new port in the ~/.unison config file as well. Better still would be an automatic ssh connection using keys, but cross that bridge when you come to it... The port issue, however, I'd do straight away!
Comment