added tuto on connexion ssh
This commit is contained in:
@@ -14,6 +14,16 @@
|
|||||||
**sftp -P XXXX username@ssh.server.domain** se connecter a un server ssh avec le protocol ftp
|
**sftp -P XXXX username@ssh.server.domain** se connecter a un server ssh avec le protocol ftp
|
||||||
**vim scp://username@ssh.server.domain:XXXX//home/path/to/file** edit a remote file from local vim
|
**vim scp://username@ssh.server.domain:XXXX//home/path/to/file** edit a remote file from local vim
|
||||||
|
|
||||||
|
**ssh to server :**
|
||||||
|
**ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519_hugo2lejourdesprofs -C "hugo2lejourdesprofs"** :
|
||||||
|
- creates a key of type ed25519 (more secure than rsa),
|
||||||
|
- put it in the file ~/.ssh/id_ed25519_name_of_key,
|
||||||
|
- and add a comment "name_of_key" (for exemple) -> it will be shown next to the key in the .pub file
|
||||||
|
**ssh-copy-id -i ~/.ssh/id_ed25519_huho2planethoster.pub 9x3ph_hugo@9x3ph.ftp.infomaniak.com** :
|
||||||
|
- send a copy of the public key to the server,
|
||||||
|
- choose which key with -i (otherwise it send them all)
|
||||||
|
- name of server ssh connexion (you will have to enter your password)
|
||||||
|
|
||||||
|
|
||||||
**install touchegg to allow more touchpad gestures, like pinch-to-zoom**
|
**install touchegg to allow more touchpad gestures, like pinch-to-zoom**
|
||||||
- https://github.com/JoseExposito/touchegg
|
- https://github.com/JoseExposito/touchegg
|
||||||
|
|||||||
Reference in New Issue
Block a user