Sida looga fogeeyo ku xidhidhiyaha Mac ka Windows oo wata SSH

Haddii Mac -gaagu yahay kombiyuutarkaaga aasaasiga ah, waxaad jeclaan lahayd inaad awood u yeelatid inaad ku xidhidhiyaha meel fog ka kombuyuutar kale(the ability to connect to it remotely from another computer) . Tani waxay ku siinaysaa gelitaanka faylashaada iyo faylalkaaga xitaa marka aad ka maqan tahay mashiinkaaga.

Haddii kombiyuutarkaaga labaad uu noqdo mashiinka Windows , waxaad isticmaali kartaa borotokoolka SSH si aad meel fog uga xirto Mac -gaaga kumbuyuutarka Windows . Tani waxay abuureysaa xiriir aad u ammaan badan oo u dhexeeya labada kombiyuutaradaada waxayna kuu ogolaaneysaa inaad ka shaqeyso faylasha Mac mashiinkaaga Windows .

Si fog uga gal Mac Windows ka

Si aad ugu xidhidhiyaha Windows PC-ga Mac kaaga SSH , (Mac)waxa(SSH) aad u baahantahay in aad marka hore ku habayso dhawr doorasho Mac gaaga . Markaa waxaad dhammaan u dejisan doontaa inaad ku xidho Mac -gaaga kumbuyuutarka (Mac)Windows kasta oo ku yaal meel kasta oo adduunka ah.

Daar Gelitaanka Fog ee Mac(Enable The Remote Login Feature On Mac)

Mac - gaagu waxa uu leeyahay qaab loo yaqaan Remote Login kaas oo u ogolaanaya kombayuutarada kale ee ku jira shabakadaada iyo sidoo kale internetka(Internet) in ay ku xidhmaan Mac -gaaga oo ay ku qabtaan hawlo. Si aad u awooddo inaad SSH ka geliso Mac kaaga PC Windows , waxaad u baahan tahay inaad marka hore awood u siiso Mac kaaga .

  • Guji(Click) astaanta Apple oo ku taal geeska bidix ee sare ee shaashaddaada oo dooro Xulashada Nidaamka(System Preferences) .

Xulashada Nidaamyada hoos yimaada menu Apple ayaa la doortay

  • Shaashada soo socota, hel ikhtiyaarka leh Wadaag(Sharing) oo guji. Waxay u furi doontaa menu-ga dejinta wadaagga ee Mac kaaga .

Wadaagista daaqada Dookhyada Nidaamyada

  • Shaashada furmo waxay leedahay dhawr doorasho oo kuu ogolaanaya inaad la wadaagto waxa ku jira Mac kaaga . Soo hel ikhtiyaarka oranaya Remote Login liiska oo ku calaamadee sanduuqa dhexdiisa. Tani waxay awood u siin doontaa sifada ku jirta Mac kaaga .

Sanduuqa soo galitaanka fog ayaa lagu calaamadeeyay daaqada Wadaagista

Hadda waxaad diyaar u tahay inaad ku xidho Mac -gaaga PC-gaaga Windows-ka SSH .

Waxa kaliya ee aad hadda u baahan tahay waa cinwaanka IP-ga ee Mac -gaaga . Haddii aad ka soo xidhi doonto mishiin Windows ah oo ku yaal isla shabakadaada Mac , waxaad u baahan doontaa IP-ga degaankaaga ee Mac . Markaa uma baahnid inaad awood u siiso gudbinta dekeda routerkaaga.

Haddii aad ku xidhi doonto mashiinka Windows -ka ee aan ku jirin shabakadda gurigaaga, waxaad u baahan doontaa IP-ga caalamiga ah ee Mac kaaga . Xaaladdan oo kale, waxaad u baahan doontaa inaad raacdo tilmaamaha gudbinta dekedda ee hoos ku qoran si aad u gasho Mac -gaaga fog.

Soo hel IP-ga Maxaliga ah ee Mac-gaaga(Find The Local IP Of Your Mac)

Waxaad ka heli doontaa Mac-ga IP-ga deegaankaaga ee shayga Wadaagga(Sharing) ee aad hore u gashay. Haddii aad hore u xidhay, dhagsii astaanta WiFi ee xagga sare oo dooro (WiFi)Shabakadda Dookhyada Furan(Open Network Preferences) .

Ciwaanka IP-ga ee goobaha shabakada

Ciwaanka IP-gaagu waa inuu ku qoran yahay shaashadda soo socota.

Soo hel IP-ga caalamiga ah ee Mac kaaga(Find The Global IP Of Your Mac)

Waxaad samayn kartaa raadinta sahlan Google si aad u hesho ciwaanka IP-ga ee internetka(Internet) caalamiga ah .

U gudub Google oo raadi ciwaanka IP-gayga(My IP Address) .

Ciwaankayga IP-ga waxa lagu muujiyay Google

Google ayaa ku ogeysiin doonta cinwaankaaga guud ee IP.

Ku Habee Soo Gudbinta Dekadda Routerkaaga(Set Up Port Forwarding On Your Router)

Haddii aad rabto in aad si fog uga xirato Mac(Mac) - gaaga Windows PC ka fog gurigaaga oo aanad ku xidhnayn shabakada degaankaaga, waxaad u baahan doontaa inaad u gudbiso dekedda routerkaaga sida hoos ku cad.

  • Ka fur tab cusub browserkaaga, geli 192.168.1.1 ee ciwaanka, oo ku dhufo Gelida(Enter) . Waxay furi doontaa bogga dejinta router kaaga.
  • Marka boggu furmo, gal adiga oo isticmaalaya login default ah kaas oo ah admin iyo admin labada goobood oo sii wad.

Shaashada soo gal ee router

  • Guji Gudbinta(Forwarding) xagga sare si aad u furto bogga habaynta gudbinta.

Gudbinta tab ee router wireless

  • Guji soo gudbinta Dekedda(Port Forwarding) ee shaashadda soo socota. Geli 22 iyo 22 labada goobood ee dekedaha. Kadibna, geli IP-ga maxalliga ah ee Mac kaaga goobta LAN IP-ga(LAN IP) , calaamad-ku calaamadee Enable , oo guji OK xagga hoose.

Shaashadda gudbinta ee Port in router wireless

Dhammaan taraafikada soo galaya ee IP-gaaga ee ku yaal dekedda 22 ayaa hadda loo gudbin doonaa Mac kaaga . Sababta aad u isticmaashay dekedda 22 waa sababta oo ah waa dekedda ay SSH u isticmaasho isku xidhka.

Ku xidhida fog ee Mac leh SSH Adigoo isticmaalaya Putty(Remote Connect To Mac with SSH Using PuTTY)

PuTTY waa macmiil SSH ah oo bilaash ah oo ay heli karaan mishiinada Windows kaas oo kuu ogolaanaya inaad si fudud (Windows)ugu xidhidhdo kombuyuutar kasta oo fog marka loo eego borotokoolka SSH(connect to any remote computer over the SSH protocol) . Tani waa waxa aad u isticmaali doonto in aad ku xidhidhiyahaaga fog ee kombayutarka (Mac)Windows .

  • U gudub shabakada PuTTY oo soo deji oo ku shub app-ka kombayutarkaga.
  • Fur abka marka la rakibo Interface-ka ugu weyn wuxuu muujinayaa dhowr goobood oo aad geli karto qiyamka.
  • Geli cursorkaaga goobta Magaca martida(Host Name) oo ku qor ciwaanka IP-ga ee Mac gaaga .
  • Hubi in garoonka Dekeddu ay ku jiraan (Port)22 .
  • Dooro ikhtiyaarka SSH si aad u hubiso inaad ku xidhidhayso adoo isticmaalaya borotokoolka SSH .
  • Ugu dambeyntii, dhagsii Fur(Open) si aad u furto xiriiriyaha fog ee Mac kaaga .

Shaashada Magaca martida loo yahay iyo badhanka fur oo lagu iftiimiyay daaqada Habaynta PuTTy

  • Waxay ku weydiin doontaa inaad geliso magaca isticmaale ee Mac gaaga . Geli(Enter) magacaaga Mac oo taabo Gelida(Enter) .

Soo gal si degdeg ah

  • Waxaa lagu waydiin doonaa eraygaaga sirta ah ee akoonka isticmaalaha Geli erayga sirta ah ee isticmaalaha Mac(Mac user) oo taabo Gelida(Enter) .

Furaha sirta ah

  • Haddii wax walba si fiican u socdaan, waxaa lagugu xidhi doonaa Mac -gaaga PC-gaaga Windows.

Isku xirka Mac iyo PC ee guusha leh

Hadda oo aad ku xidhan tahay, waxaad u baahan doontaa inaad ogaato waxa aad ku samayn karto xidhiidhkaaga SSH . Waa kuwan qaar ka mid ah amarada aasaasiga ah ee(some of the basic commands) aad ku ordi karto si aad ficil ugu qabato Mac -gaaga .

Fiiri Liiska Faylasha iyo Faylka(View Files And Folders List)

Si aad u aragto faylalka iyo liiska faylalka hagahaaga hadda, waxaad socodsiin kartaa amarkan soo socda.

ls

ls waxay ku amartaa daaqada terminal

Beddel Hagaha(Change The Directory)

Si aad u bedesho hagaha hadda ee fadhigaaga SSH , adeegso amarkan soo socda.

cd-tusaha cusub(cd new-directory)

cd in terminal

Daawo Nuxurka Faylka(View File Contents)

Waxaad ku geli kartaa waxa ku jira faylka adigoo isticmaalaya amarka SSH sida soo socota.(SSH)

bisad file-name.ext(cat file-name.ext)

Nuxurka faylka bisadda Story.txt

Samee Folder Cusub(Create a New Folder)

SSH waxay(SSH) kuu ogolaanaysaa inaad abuurto hagayaal cusub sidoo kale. Si aad taas u sameyso, socodsii waxyaabaha soo socda.

mkdir directory-magaca(mkdir directory-name)

Taliska Mkdir ee terminaalka

Samee Fayl Cusub(Create a New File)

Waxaad xitaa meel fog ka abuuri kartaa fayl cusub Mac kaaga Windows .

taabo file-name.ext(touch file-name.ext)

taabo amarka daaqada terminaalka

Tirtir Fayl(Delete a File)

Si aad uga takhalusto fayl ku jira Mac kaaga , isticmaal amarkan soo socda ee PC gaaga.

rm file-name.ext

rm amarka ee terminaalka

Kuwaas waxaa dheer, SSH waxay leedahay amaro kale oo dhowr ah oo aad u isticmaali karto inaad ku qabato hawlaha Mac -kaaga ee PC-gaaga.



About the author

Waxaan ahay horumariye mareegaha iyo injineer maqal ah oo leh khibrad 10 sano ka badan. Waxaan ku takhasusay horumarinta barnaamijyada Chrome/Web Audio, iyo sidoo kale codsiyada Discord. Xirfadayda labada dhinacba waxay ii ogolaataa inaan abuuro alaab tayo leh oo ay fududahay in la isticmaalo lana ilaaliyo. Intaa waxaa dheer, waxaan ahay isticmaale khibrad leh oo Discord waxaanan ka shaqaynayay abka in ka badan laba sano hadda.



Related posts