Sida loo abuuro furayaasha SSH ee Windows, Mac iyo Linux
Haddii aad raadinayso inaad meel fog ku xidho kombayutarka, mid ka mid ah hababka ugu fiican uguna ammaanka badan waa inaad isticmaasho xidhiidhka Secure Shell ( SSH ). Tani waxay abuuraysaa xidhiidh qarsoodi ah oo u dhexeeya adiga iyo martigeliyaha fog, iyada oo hubinaysa in xogta la dirayo aan la dhexgelin karin ama lala socon karin sinaba.
Waxa kale oo aad SSH u isticmaali kartaa tunnel-ka taraafikada kale, sida VNC-da sugan ee SSH(secure VNC connection over SSH) . Mid ka mid ah dariiqo aad uga dhigi karto isku xirka SSH xitaa badbaado waa inaad isticmaasho furayaasha SSH , kaas oo ku beddelaya furaha sirta ah ee suurtogalka ah ee sahlan in la dilo furaha 617-nambar. Waa kan sida loo soo saaro furayaasha SSH cusub ee (SSH)kombiyuutarada Windows(Windows) , Mac iyo Linux .
Waa maxay furayaasha SSH?(What Are SSH Keys?)
Furayaasha SSH(SSH) waxay kuu oggolaanayaan inaad abuurto xiriiro sugan server-yada fog ama kombuyuutarrada adoon isticmaalin furaha sirta ah adigoo isticmaalaya borotokoolka Secure Shell . Furayaasha SSH(SSH) waxa loo abuuray laba-labo, oo wata fure gaar ah iyo fure guud oo weli ku xidhan–mid lama isticmaali karo kan kale la'aanteed.
Inta badan, furaha dadweynuhu waxa uu ku sii jirayaa kombuyutarka fogfog ama server-ka si loo xafido xidhiidhka. Furaha gaarka ah ayaa markaa loo adeegsadaa in lagu xaqiijiyo aaladdaas fog, taasoo kuu oggolaaneysa inaad ku xirto oo aad isticmaasho adigoon keenin furaha sirta ah.
(Public)Furayaasha SSH (SSH)ee guud iyo kuwa gaarka ah waa laba qaybood oo isku mid ah—la'aanteed furaha gaarka ah,ma xaqiijin kartid furaha guud oo ma samayn kartid xiriir, furaha dadweynaha la'aanteedna furaha gaarka ahi faa'iido ma leh. Waxaad ku abuuri kartaa furayaal SSH cusub (SSH)Windows , Mac , iyo Linux , ka dibna u wareeji furaha dadweynaha(public ) qalabka fog.
Furaha gaarka(private) ah ayaa markaa si badbaado leh loogu kaydiyaa PC ama Mac . Waa muhiim in la xafido nuqulka furahaan si sugan (tusaale, addoo isticmaalaya maamulaha sirta ah(password manager) ). Haddii aad lumiso, waxaa laga yaabaa inaadan awoodin inaad dib-u-samayso isku-xidhka fogaanta
Waxa kale oo muhiim ah in aanad la wadaagin furahaaga guud iyo kan gaarka ah dadka kale, laakiin gaar ahaan furahaaga gaarka ah (ama erayga sirta ah ee laga yaabo in uu furto). Furaha gaarka ah ee ay gacanta ku hayaan, isticmaale qallafsan ayaa awood u yeelan doona in uu xiriir la sameeyo qalabkaaga fog isaga oo aan u baahnayn wax caddayn ah oo dheeraad ah.
Sida loo isticmaalo Windows si loo abuuro furayaasha SSH(How to Use Windows to Generate SSH Keys)
Waxaad isticmaali kartaa Windows si aad u abuurto furayaasha SSH adoo isticmaalaya macmiilka (SSH)OpenSSH ee ku dhex dhisan ama caanka ah, macmiilka (OpenSSH)Putty ee qolo saddexaad . Haddii aad doorbidayso inaad isticmaasho is-dhexgalka garaafyada isticmaale ( GUI ) si aad u abuurto furayaal cusub oo SSH ah, (SSH)PuTTY waa doorashada ugu fiican. Haddii aad doorbidi lahayd inaad isticmaasho software ku dhex jira, ka dib isticmaal OpenSSH (adigoo isticmaalaya Windows PowerShell ).
Isticmaalka OpenSSH iyada oo loo marayo Windows PowerShell(Using OpenSSH via Windows PowerShell)
- Haddii aad rabto inaad isticmaasho OpenSSH , waxaad u baahan doontaa inaad marka hore hubiso in uu karti yahay marka hore. Si taas loo sameeyo, midig-guji liiska Start oo dooro Settings .
- Menu Settings(Settings) , dooro Apps > Apps & features > Astaamaha ikhtiyaariga ah(Optional features) .
- Ka eeg liiska astaamaha ikhtiyaariga ah(Optional features) ee gelitaanka Macmiilka OpenSSH . (OpenSSH Client)Haddii aysan halkaas joogin, dooro ku dar sifada(Add a feature) .
- Dooro ikhtiyaarka macmiilka OpenSSH(OpenSSH Client ) , ka dibna dooro Ku rakib(Install) si aad u rakibto. U ogolow dhowr daqiiqadood Windows inay ku rakibto software-ka loo baahan yahay. Haddii aad rabto inaad isticmaasho SSH si aad ugu xidho kombuyutarkaaga Windows , hubi inaad doorato ikhtiyaarka Server OpenSSH , sidoo kale.(OpenSSH Server )
- Marka la rakibo OpenSSH , midig-guji menu-ka Start oo dooro Windows PowerShell (Admin) .
- Daaqadda cusub ee Windows PowerShell , ku qor ssh-keygen oo dooro furaha gelida(enter ) . Waxaad ku qori kartaa meel kaydin cusub iyo magaca faylka furahaaga markan, ama si fudud u riix geli(enter) mar labaad si aad u kaydiso faylashaada C:\Users\user\.ssh\ folder (ku beddelka isticmaalehaaga(user) isticmaalehaaga).
Qalabka ssh-keygen wuxuu u isticmaali doonaa sirta RSA si caadi ah, laakiin waxaad u bedeli kartaa qaab kale oo sireed adiga oo ku qoraya (RSA)habka (method)ssh-keygen -t beddelka, beddelka habka(method ) mid ka mid ah fursadaha sirta ah ee jira ( dsa, ecdsa, ed25519, rsa ).
- Marka xigta, waxaa lagaa rabaa inaad geliso jumlad sir ah. Tani waxay si qarsoodi ah u gelinaysaa furahaaga gaarka ah ee kombayutarkaaga waxaana lagu talinayaa sida caadiga ah, inkasta oo aan loo baahnayn. Waxaad isticmaali kartaa kelmad ama odhaah xusuus leh, laakiin waxa kale oo aad isticmaali kartaa erayga sirta ah ee badbaadsan(use a secure password) halkan. Ku qor(Type) eraygaaga sirta ah oo dooro geli(enter) si aad u xaqiijiso, ama si fudud uga tag faaruq oo dooro geli(enter) si aad uga tagto faaruq.
- Marka aad ku darto eraygaaga sirta ah, Windows waxa ay soo saari doontaa furayaasha loo baahan yahay galka C:\Users\user\.ssh\ (oo isticmaalaya(user) magacaaga isticmaale). Haddii aad doorato inaad isticmaasho magaca faylka caadiga ah, faylka id_rsa.pub waa furahaaga guud, halka id_rsa (aan lahayn kordhin) uu yahay furahaaga gaarka ah. Marka aad samayso furayaashaada, waxaad u baahan doontaa inaad dhaqaajiso dadweynahaaga furaha ( id_rsa.pub ) ee .ssh directory ee fog fog PC , Mac , ama server kaaga.
Isticmaalka Putty(Using PuTTY)
Macmiilka aadka loo yaqaan ee PuTTY SSH ayaa ah macmiilka caadiga ah ee isticmaalayaasha Windows intooda badan . Waxaa ku jira dhowr qalab oo kale oo loogu talagalay samaynta isku xirka SSH , oo ay ku jiraan (SSH)PuTTYgen , oo ah aalad lagu soo saaro furayaasha SSH cusub.(SSH)
- Si aad u isticmaasho PuTTY si aad u soo saarto furayaashaada SSH , u soo deji Putty PC gaaga(download PuTTY for your PC) oo ku rakib. Marka la rakibo, ka billow PuTTYgen(PuTTYgen) ( qalabka koronto-dhaliyaha SSH ee ku jira ) menu-ka Start , ka dooro RSA nooca furaha si aad u abuurto(Type of key to generate) xulashooyin, ka dibna dooro Generate . Waxa kale oo aad dooran kartaa mid ka mid ah xulashooyinka sirta ah ee beddelka ah, laakiin tillaabooyinka hoose way kala duwanaan karaan.
- Qayb ka mid ah habka curinta furayaashaadu waa in aad u dhaqaajiso jiirkaaga si aan kala sooc lahayn. Isticmaal mouse-kaaga ama trackpad-ka si aad tan ugu samayso aagga isla markiiba ka hooseeya bar horumarka ilaa lamaanaha muhiimka ah laga soo saaro.
- Haddii aad rabto in aad ku darto furahaaga furahaaga, ku qor kan furaha furaha(Key passphrase ) oo Xaqiiji(Confirm passphrase) sanduuqyada sirta ah, ka dib dooro Keydi furaha dadweynaha(Save public key) iyo Keydi furaha gaarka ah(Save private key) si aad u badbaadiso furayaashaada. Waxa kale oo aad dooran kartaa qoraalka ku jira furaha dadweynaha si aad ugu dhejiso sanduuqa Furaha ee OpenSSH(Public key for pasting into OpenSSH authorized_keys ) , dabadeed midig-guji oo dooro Nuqul(Copy) si aad u nuqul ka sameyso oo aad ugu dhejiso faylka gacanta.
- Furayaashaada oo la keydiyay, waxaad markaas u wareejin kartaa furaha dadweynaha(public key ) PC, Mac , ama server-kaaga fog. Furahaaga gaarka ah(private key) , waxa laga yaabaa inaad u baahato inaad tan u soo guurto C:\Users\user\.ssh\ folder-kaaga (ku beddelka isticmaalaha(user ) tusahaaga isticmaale ee saxda ah) si aad ugu isticmaasho macmiilka SSH ee aad door bidayso.(SSH)
Sida loo abuuro furayaasha SSH Linux ama Mac(How to Generate SSH Keys on Linux or Mac)
OpenSSH waa qalabka heerka dahabka ah ee maamulka SSH , iyo sida nooca Windows , ssh-keygen aalada ayaa weli ah habka ugu wanaagsan ee lagu soo saari karo furayaasha SSH cusub kombiyuutarada Mac ama Linux .
Natiijo ahaan, qalabka GUI ee soo saarista furayaasha (GUI)SSH waa naadir oo sida caadiga ah laguma talinayo. Sida qalabka OpenSSH ay ku jiraan dhammaan kombiyuutarada Mac iyo ku dhawaad (Mac)dhammaan qaybinta Linux(all Linux distributions) , tillaabooyinka hoose waa inay u shaqeeyaan labada goobood.
- Si aad u bilowdo, fur daaqad cusub oo terminal ah Linux PC ama Mac . Haddii aad rabto inaad isticmaasho Mac -gaaga si aad u dhaliso furayaasha SSH , waxaad bilaabi kartaa Terminal- ka app adoo isticmaalaya Launchpad . Tallaabooyinka furitaanka terminalka cusub ee PC Linux way kala duwanaan doonaan, iyadoo ku xidhan qaybintaada.
- Daaqadda Terminalka cusub ee kumbuyuutarkaaga Linux ama Mac , ku qor ssh-keygen oo dooro furaha gelida(enter ) . Sida ssh-keygen ee Windows -ka , nooca Linux iyo Mac ayaa ku habboon adeegsiga sirta RSA . Haddii aad doorbidayso inaad isticmaasho nooc kale oo sireed, ku qor habka ssh-keygen -t,(ssh-keygen -t method, ) oo ku beddela habka(method) qaab siraynta aad rabto inaad isticmaasho (tusaale dsa, ecdsa, ed25519, rsa ).
- Waxaad marka xigta u baahan doontaa inaad go'aamiso meesha aad rabto inaad ku kaydiso furayaasha SSH -ga cusub "magaca faylka caadiga ah iyo goobta ayaa lagu tusi doonaa xirmooyinka wareega ee daaqada terminalka. Haddii aad rabto inaad furahaaga ku kaydsato meel kale iyo magac kale, ku qor meel cusub oo magaca faylka halkan, ka dib dooro furaha gelida(enter ) .
- Marka xigta, waxaad u baahan doontaa inaad ku qorto erayga sirta ah si aad u sirayso furahaaga gaarka ah (haddii aad rabto inaad mid isticmaasho). Ku qor eraygaaga sirta ah laba jeer, ama dooro geli(enter) laba jeer si aad uga tagto erayga sirta ah (inkasta oo tan aan lagu talinayn).
- Halkaa marka ay marayso, furayaashaada SSH waxa lagu soo saarayaa goobta kaydinta ee aad sheegtay oo la isticmaalayo (SSH)id_rsa filename-ka caadiga ah ee sirta RSA ( id_rsa.pub ee furaha guud iyo id_rsa ee furaha gaarka ah). Waxaad u baahan doontaa inaad u rarto furahaaga dad waynaha ( id_rsa.pub ) kombayutarka fog, Mac , ama seerfarkaaga si aad awood ugu yeelato inaad samaysato xidhiidhkaaga adoo isticmaalaya SSH .
Samaynta Xiriir Sugan Isticmaalka SSH(Making Secure Connections Using SSH)
Markaad abuurto furahaaga SSH(SSH) , waxaad u baahan doontaa inaad hubiso inaad nuqul ka sameysato furaha dadweynaha PC, Mac , ama server-kaaga fog. Tani waxay ku xidhaysaa furahaaga khaaska ah, kaas oo u ogolaanaya macmiilka SSH ee aad door bidayso inuu sameeyo xidhiidho SSH ah oo sugan iyada oo aan lahayn sirta caadiga ah. Tusaale ahaan, waxaad isticmaali kartaa SSH si aad ugu xirto Mac kale meel fog(use SSH to connect to another Mac remotely) .
Xidhiidhada Sugan ee SSH(Secure SSH) waxa kale oo ay kaa caawin karaan in aad ku dhowaato dugsiga ama goobta shaqada dab-damiska(get around a school or workplace firewall) adiga oo isticmaalaya tunnel SSH . Waxa kale oo aad isticmaali kartaa SSH si aad ugu xidho (iyo cusboonaysiiso) Raspberry Pi(connect to (and update) a Raspberry Pi) ama kombuyuutarrada iyo adeegayaasha kale ee Linux ku salaysan. Waxaad u baahan doontaa inaad hubiso inaad karti u siisay server-ka OpenSSH haddii aad rabto inaad tan ku samayso Windows 10 , si kastaba ha ahaatee.
Related posts
Sida loo furo 7Z Files gudaha Windows, Mac, iyo Linux
Sida loo uninstall Dropbox on Mac, Windows, iyo Linux
Sida loogu qoro xarfaha lahjadaha Windows, Mac iyo Linux
Sida loo Uninstall BlueStacks on Windows iyo Mac
Sida loo qoro ama loogu sawiro PDF File gudaha Mac iyo Windows
Sida Loo Joojiyo Xidhiidhada Fog ee Kumbuyuutarka Windows ama Mac
Sida loogu rakibo Luqadda Kiiboodhka Dheeraadka ah ee Windows, Mac iyo Aaladaha Mobilka
Sida loo furo Torrent Files on Windows 10 iyo Mac
Ku Keydi Liiska Habraacyada Socodka Faylka Qoraalka ee Daaqadaha
11ka Macmiil ee IRC ee ugu Fiican Windows, Mac, iyo Linux 2022
Sida Loo Yareeyo Isticmaalka Sare ee Windows Explorer ee Isticmaalka CPU
Ku qiyaas sawirka gudaha Windows, Mac, iOS, iyo Android
Sida Looga Saarayo Maqalka Video-ga Windows iyo Mac
Nadiifi galka WinSxS gudaha Windows 7/8/10
Daar oo dami Tilmaamaha Daaqadaha
Sida loo Helo kanaalka Wi-Fi ee ugu Wanaagsan Windows, Mac iyo Linux
Sida loo hagaajiyo AirDrop oo aan ka shaqayn iPhone ilaa Mac
Isku dar labada qaybood ee Windows 7/8/10
Ku beddel cinwaankaaga MAC Windows, Linux ama Mac
Sida loo Pixelate sawirka Windows iyo Mac