Try   HackMD

Creating SSH key

Linux

If you use Linux at your (local) computer, run in the command line:

ssh-keygen -m PEM -b 2048 -t rsa  
Generating public/private rsa key pair.  
`Enter file in which to save the key (/home/uporabnik/.ssh/id_rsa): `  
`Created directory '/home/uporabnik/.ssh'.`  
`Enter passphrase (empty for no passphrase): `  
`Enter same passphrase again: `  
`Your identification has been saved in /home/uporabnik/.ssh/id_rsa.`  
`Your public key has been saved in /home/uporabnik/.ssh/id_rsa.pub.`  
`The key fingerprint is:`  
`SHA256:bzJ/c37QCkVJW8Zrqwt3HjNrsWeOjmV1Jaa3D1jxwwM uporabnik@racunalnik`  
`The key's randomart image is:`  
`+---[RSA 2048]----+`  
`|             ..oo|`  
`|              o+.|`  
`|             E= o|`  
`|             o+*.|`  
`|        S   ..+==|`  
`|         .  .+.==|`  
`|        o o..o*Bo|`  
`|         =  ===*O|`  
`|          ...***+|`  
`+----[SHA256]-----+`

The public part of the key which is stored to /home/user/.ssh/id_rsa.pub has been sent to administrators to arrange access to the servers/home/uporabnik/.ssh/id_rsa.pub

Windows

If you use Windows at your local computer, then you should do:

  • first download and install the Putty software from https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

  • Once installed, find and run the "puttygen" program. You will get

  • When it opens, select the "Generate" option and move the mouse across the empty field to generate the key

  • Once the key is generated, you can set the password for the key in "Keypassphrase" and "Confirm passphrase"

  • Click "Save public key" option to save the public part of the key (.pub extension).

  • By "Save private key" option you save the private part of the key (.ppk extension), which will then allow you to access the servers via the Putty program.

  • To access HPCFS with Nomachine graphical access program, you need also to select "Conversions" and "Export OpenSSH key" above, to store the generated private key in appropriate form (.key extension).

  • Send the public part of the key to hpc@fs.uni-lj.si

Dostop preko grafičnega vmesnika

Linux

Namestitev v Ubuntu Linux

Pojdite na https://www.nomachine.com/download Izberite Download pod
NoMachine for Linux

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Izberite NoMachine for Linux DEB amd64

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Izberite Download

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Z dvojnim klikom odprite preneseno datoteko. V pojavnem oknu izberite
Install Package. Po potrebi vnesite geslo.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Po uspešni namestitvi, lahko med programi najdete NoMachine. Z enojnim
klikom ga odprete. Skrbno preberite pozdravni zaslon, saj vsebuje
ključna navodila in informacije, kako z NoMachine programom rokovati.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Namestitev Povezave

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Kliknemo na New da določimo novo povezavo.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Protocol pustimo izbrano NX ter izberemo Continue.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Vpišemo ime strežnika "viz.hpc.fs.uni-lj.si" ter izberemo Continue.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Določimo dostop z "Private key" ter izberemo Continue.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Izberemo lokacijo privatnega ključa. Ponavadi je to v domači mapi pod
.ssh/id_rsa. Če želimo lahko izberemo "Import the private key to the
connection file" da ga uvozi v samo povezavo. Izberemo Continue.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Pustimo Don't use a proxy, razen če se povezujem preko posredniškega
strežnika. Izberemo Continue.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Določimo ime povezave ter če želimo ustvariti bližnico na namizje.
Izberemo Done.

Vzpostavitev povezave

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Izberite shranjeno povezavo in kliknite na gumb "Connect"

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Ob prvem povezovanju vas lahko vpraša da potrdite validnost strežnika.
Če se podatki ujemajo izberete Yes.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Vnesite vaše uporabniško ime na HPC FS sistemu in geslo, ki odklene vaš
ključ ter kliknite na gumb "OK".

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Izberite "Create a new virtual desktop" in kliknite na gumb "Continue".

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Program vam bo prikazal navodila za upravljanje z namizjem. POZORNO JIH
PREBERITE in nadaljujte z klikom na gumb "OK". Začel se bo postopek
Ustvarjanja vašega namizja.

OB PRVEM ZAGONU NAMIZJA se vam bo prikazal čarovnik za nastavitev
namizja. Priporočamo nastavitve, kot v spodnjih posnetkih zaslona.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Ko zaključite z čarovnikom se vam bo pripravilo novo namizje. Ob prvem
zagonu se vam bodo odprla tudi pojavna okna z predstavitvijo, ki jih
lahko zaprete.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Vsi programi so vam na voljo v začetnem meniju.
Do terminala pridete v zečetnem meniju Sistem > Terminal

Ko končate z delom se iz seje odjavite. To storite tako, da izberete
Začetni meni > Odjava

Windows

Pridobite program na povezavi https://www.nomachine.com/download/. Po
uspešni namestitvi poženite program.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Kliknite na gumb "New", da začnete z pripravo nove seje

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Izberite protokol "NX" in kliknite na gumb "Continue"

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Vnesite naslov viz.hpc.fs.uni-lj.si in kliknite na gumb "Continue"

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Izberite "Private key" in kliknite "Continue"

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Poiščite vaš ključ in ga naložite, nato kliknite gumb "Continue"

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Izberuite "Don't use a proxy" in kliknite na "Continue"

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Poimenujte vašo povezavo in kliknite na gumb "Done"

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Izberite shranjeno povezavo in kliknite na gumb "Connect"

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Ob prvem povezovanju vas lahko vpraša da potrdite validnost strežnika.
Če se podatki ujemajo izberete Yes.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Vnesite vaše uporabniško ime na HPC FS sistemu in geslo, ki odklene vaš
ključ ter kliknite na gumb "OK".

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Izberite "Create a new virtual desktop" in kliknite na gumb "Continue".

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Program vam bo prikazal navodila za upravljanje z namizjem. POZORNO JIH
PREBERITE in nadaljujte z klikom na gumb "OK". Začel se bo postopek
Ustvarjanja vašega namizja.

OB PRVEM ZAGONU NAMIZJA se vam bo prikazal čarovnik za nastavitev
namizja. Priporočamo nastavitve, kot v spodnjih posnetkih zaslona.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Ko zaključite z čarovnikom se vam bo pripravilo novo namizje. Ob prvem
zagonu se vam bodo odprla tudi pojavna okna z predstavitvijo, ki jih
lahko zaprete.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Vsi programi so vam na voljo v začetnem meniju.

Do terminala pridete v zečetnem meniju Sistem > Terminal

Ko končate z delom se iz seje odjavite. To storite tako, da izberete
Začetni meni > Odjava

=Dostop preko SSH=

Linux

ssh uporabniškoime@viz.hpc.fs.uni-lj.si

[uporabniškoime@viz ~]$

Windows

Namestite si aplikacijo za vzpostavitev SSH povezave. Priporočamo Putty
https://www.putty.org/

V polje Host Name (or IP address) vnesite naslov
viz.hpc.fs.uni-lj.si, Port pa pustite 22.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Nato odprite meni Connection > SSH > Auth

In v odseku Authentication parameters s klikom na gumb "Browse" naložite
vaš PRIVATNI SSH KLJUČ

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

*Če pa uporabljate agenta za SSH ključe (kot npr. Pagent) odkljukajte
kljukico pri "Allow agent forwarding". Prepričajte se, da imate v agentu
naložen ključ.

Nato kliknite na gumb "Open".

Odprla se vam bo seja, kjer vas bo sistem vprašal za vaše uporabniško
ime in geslo, ki ste si ga določili pri generiranju vašega SSH ključa.
Ko boste pravilno vnesli podatke se vam bo odprla SSH seja.

tags: HPCFS