This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new!

Re: Simple home networking with SSH

Posted by: Anonymous [ip:] on October 19, 2007 08:26 PM
You can use the ssh-copy-id command to copy your public key to the remote server, that way the file will automaticaly get the right permissions. Of course password login needs to be enabled for that to work.

The command is runned like: ssh-copy-id -i /home/username/.ssh/ usernameAtRemoteComputer@remoteComputer

For the people who don't know, a key can be generated using: 'ssh-keygen -t rsa', if you save at the default location the ssh commands (including scp but not ssh-copy-id) can automatically find the keys.

You should usually not open an Xforward by default. If can also be opened with 'ssh -X username@remoteComputer'

Maybe I gave too mush irrelevant information. Its just that I find ssh so unlimited useful.


Return to Simple home networking with SSH