other:ssh
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
other:ssh [2023/05/03 10:32] – [Windows ssh agent] Improved jypeter | other:ssh [2024/11/29 13:58] (current) – [Installing ssh keys] Improved jypeter | ||
---|---|---|---|
Line 72: | Line 72: | ||
If you want to connect to the [[https:// | If you want to connect to the [[https:// | ||
+ | * [[https:// | ||
* Connecting to '' | * Connecting to '' | ||
* '' | * '' | ||
Line 358: | Line 359: | ||
==== Installing ssh keys ==== | ==== Installing ssh keys ==== | ||
+ | <note tip> | ||
+ | * '' | ||
+ | |||
+ | </ | ||
+ | |||
+ | The **required //ssh key// files have to be present in the '' | ||
+ | |||
+ | |||
+ | We assume below that you have copied the required key files in the '' | ||
+ | |||
+ | |||
+ | * on the **// | ||
+ | * you need **the //private// key**: e.g. '' | ||
+ | * remember that **the private key has to be readable only by the file owner (you!)** on a linux (or Mac) computer\\ < | ||
+ | |||
+ | $ ls -l ~/ | ||
+ | -rw------- [...] / | ||
+ | |||
+ | |||
+ | * and the **// | ||
+ | * you need **the //public// key**: e.g. '' | ||
+ | * you need a copy of the //public// key in the '' | ||
+ | * **if the '' | ||
+ | |||
+ | $ ls -l authorized_keys | ||
+ | ls: cannot access authorized_keys: | ||
+ | |||
+ | $ cp -p id_ed25519.pub authorized_keys</ | ||
+ | * **if there is already an '' | ||
+ | |||
+ | $ cat authorized_keys | ||
+ | ssh-dss AAAAB3NzaC1kc3MAAACBAM9w0bY604COfD5yLwlBLaSDSbi2eKfhPJBl/ | ||
+ | [...] | ||
+ | OUZ8jrQrhDbq2P7GNTTaEEdy+JvtDvZSZLG4+DwhWSkxqPZ35yD8wfOi5WInpG3Cms some_login | ||
+ | |||
+ | $ mv authorized_keys authorized_keys.save | ||
+ | |||
+ | $ cat authorized_keys.save id_ed25519.pub > authorized_keys | ||
+ | |||
+ | $ cat authorized_keys | ||
+ | ssh-dss AAAAB3NzaC1kc3MAAACBAM9w0bY604COfD5yLwlBLaSDSbi2eKfhPJBl/ | ||
+ | [...] | ||
+ | OUZ8jrQrhDbq2P7GNTTaEEdy+JvtDvZSZLG4+DwhWSkxqPZ35yD8wfOi5WInpG3Cms some_login | ||
+ | ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIICD35IUxzgjlslHsrOZQ2ARZsXN1RuDcJ+ncyBKLwHr another_login | ||
+ | </ | ||
==== Using the keys ==== | ==== Using the keys ==== | ||
other/ssh.1683102733.txt.gz · Last modified: 2023/05/03 10:32 by jypeter