This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:2fa:sshkeys [2021/03/22 11:17] – deul | services:2fa:sshkeys [2021/03/22 14:37] (current) – [From Windows] deul | ||
---|---|---|---|
Line 4: | Line 4: | ||
- To login between computers at the Observatory | - To login between computers at the Observatory | ||
- | Below we deal with these two cases. | + | Below we deal with these two cases. Please note that when you setup a private/ |
=====Login from outside the Observatory===== | =====Login from outside the Observatory===== | ||
- | Login from the internet is usually done from your own personal computer. Of course that is a MacBook, but for all those 'other system' | + | Login from the internet is usually done from your own personal computer. Of course that is a MacBook, but for all those 'other system' |
====From Windows==== | ====From Windows==== | ||
- | For Windows, you can use '' | + | For Windows, you can use '' |
- | * [[: | + | * [[: |
- | * [[: | + | * [[: |
* [[: | * [[: | ||
====From MacOS==== | ====From MacOS==== | ||
+ | * [[: | ||
====From Linux==== | ====From Linux==== | ||
* [[: | * [[: | ||
- | =====Login between computers at the Observatory===== | + | =====Ssh key based login between computers at the Observatory===== |
+ | To setup an ssh key pair to allow you to login password/ | ||
+ | $ ssh-keygen -t ecdsa | ||
+ | Generating public/ | ||
+ | Enter file in which to save the key (/ | ||
+ | Enter passphrase (empty for no passphrase): | ||
+ | Enter same passphrase again: | ||
+ | Your identification has been saved in / | ||
+ | Your public key has been saved in / | ||
+ | The key fingerprint is: | ||
+ | SHA256: | ||
+ | The key's randomart image is: | ||
+ | +---[ECDSA 256]---+ | ||
+ | | | ||
+ | | .. o | | ||
+ | | o=. + o.| | ||
+ | | | ||
+ | | So+*.=.@o| | ||
+ | | .=+* BoB| | ||
+ | | o+.o =O| | ||
+ | | .. +B| | ||
+ | | . o| | ||
+ | +----[SHA256]-----+ | ||
+ | |||
+ | and then add the public key to your '' | ||
+ | cat ~/ | ||
+ | |||
+ | From this point on login into Observatory Lunix computers from Observatory Linux computers is easy. |