devel:misc:ssh
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
devel:misc:ssh [2016/04/26 17:33] – boemer | devel:misc:ssh [2016/05/13 16:45] – [SSH - network services] boman | ||
---|---|---|---|
Line 3: | Line 3: | ||
A guide about how to configure and use SSH in Ubuntu. | A guide about how to configure and use SSH in Ubuntu. | ||
- | * How to log into a remote machine? | + | |
- | * How to configure the login properly with an SSH key and a config file? | + | |
- | * How to transfer files from one machine to another? | + | |
Line 34: | Line 34: | ||
==== SSH keys ==== | ==== SSH keys ==== | ||
- | SSH keys are similar to passwords. | + | SSH keys are similar to passwords. |
- | The public key has to be transfered to the remote machine by the command '' | + | The public key has to be transfered to the remote machine by the command '' |
- | When you try to connect for the next time to the remote machine, no password will be asked since the ssh command compares your private key in '' | + | When you try to connect for the next time to the remote machine, no password will be asked since the ssh command compares your private key in '' |
Line 46: | Line 46: | ||
ssh boemer@fabulous.ltas.ulg.ac.be | ssh boemer@fabulous.ltas.ulg.ac.be | ||
| | ||
- | The easiest way to do so is to copy your private key '' | + | The easiest way to do so is to copy your private key '' |
- | scp .ssh/id-rsa | + | scp .ssh/id_rsa |
</ | </ | ||
- | <note important> | + | <note important> |
chmod -R 700 .ssh | chmod -R 700 .ssh | ||
| | ||
- | This command sets the permission recursively for all files in the '' | + | This command sets the permission recursively for all files in the '' |
- | <note warning> Previously, it was suggested to copy your private key '' | + | <note warning> Previously, it was suggested to copy your private key '' |
devel/misc/ssh.txt · Last modified: 2017/07/10 18:12 by boemer