Sida loo tunnel VNC dusha SSH

Haddii aad ku xidhidhayso miisamka fog adoo isticmaalaya borotokoolka Virtual Network Computing ( VNC ), xidhiidhkaagu waxa laga yaabaa in aanu amaan ahayn. Qaar ka mid ah macaamiisha VNC , sida kan caanka ah ee (VNC)TightVNC , ha qarin xidhiidhkaaga wixii ka dambeeya marxaladda soo gelista hore. Si aad u xalliso dhibaatada, waxaad tunnelka VNC ka dul mari kartaa tunnel Sugan Shell(Secure Shell) ( SSH ).

Ma aha oo kaliya tunnel-ka SSH wuxuu bixiyaa xiriir gebi ahaanba ammaan ah VNC , laakiin sidoo kale wuxuu kuu ogolaanayaa inaad isticmaasho isku xirka VNC marka dekedda caadiga ah ee VNC (dekedda 5901) la xannibo. Qaar ka mid ah shabakadaha shirkadaha ayaa xannibi doona dekedaha la wadaago sida dekedda 5901 si ay u helaan ammaan dheeraad ah, markaa tunnel VNC ee SSH waxay kuu ogolaaneysaa inaad ka gudubto dhibaatadan. 

Dejinta Putty(Setting Up PuTTY)

Windows 10 waxay leedahay macmiil SSH ah oo ku dhex dhisan, taas oo ay ugu wacan tahay (SSH)Windows PowerShell , laakiin tani waa uun horumar dhow. Haddii aad rabto inaad ogaato sida tunnel VNC loo maro SSH , waxaa lagugula talinayaa inaad isticmaasho PuTTY si aad u samayso xidhiidhka server- kaaga SSH .

PuTTY waxay soo bandhigaysaa isticmaale garaaf ahaan si fudud loo habayn karo si uu kuu ogolaado inaad tunnel software kale, sida daawahaaga VNC(VNC) , ee xidhiidhka. Si ay tani u shaqeyso, waxaad u baahan doontaa inaad haysato server SSH ku habboon oo lagu rakibay kombayutarka fog ee kombayutarka ama serverka aad raadinayso inaad ku xidho in ka badan VNC .

  • Si aad u bilowdo, soo deji PutTY(PuTTY) oo fur macmiilka. 
  • Liiska fadhiga(Session ) ugu weyn wuxuu kuu ogolaanayaa inaad ku qorto server-kaaga IP-ga ama magaca martida. Ku qor ciwaanka SSH ee sanduuqa qoraalka (SSH)Magaca martida loo yahay (ama cinwaanka IP)(Host Name (or IP address)) . Haddii dekeddaada SSH ay ka duwan tahay kan caadiga ah ee 22, ku qor kan sanduuqa (SSH)Dekedda(Port)
  • Waxa kale oo aad u baahan doontaa inaad kaydiso casharkan, sidaa darteed sanduuqa qoraalka ee Fadhiyada kaydsan(Saved Sessions) , ku dar magac ku habboon xidhiidhkaaga SSH , ka dibna riix badhanka Save .

  • Liiska gacanta bidix, balaadhi Connection tab, ka dibna sidaas oo kale u samee SSH . Riix Tunnels .

  • Qaybta gudbinta dekedda(Port forwarding) ee menu Tunnels , waxaad bixin doontaa faahfaahinta si aad ugu ogolaato PuTTY inuu tunnel kaaga VNC xidhiidhka SSH . Sanduuqa qoraalka Source port , ku qor 5901. Sanduuqa qoraalka Destination , ku qor cinwaankaaga fog ee IP:5901(remote IP address:5901) , adoo isticmaalaya ciwaanka IP-ga ee kombayutarka fogfog ama serverka . Tusaale ahaan, 192.168.1.100:5901 ayaa ku habboonaan lahayd.

  • Ku soo laabo qaybta(Session) casharka, dhagsii magaca fadhigaaga kaydsan ee hoos yimaada Fadhiyada la kaydiyay(Saved Sessions) , dabadeed dhagsii Save si aad u kaydsato goobahaaga.

  • Iyada oo goobaha PuTTY ay diyaar yihiin, samee xidhiidhka SSH adiga oo gujinaya Fur(Open) xagga hoose. Waxaa lagaaga baahan doonaa inaad geliso magaca isticmaale iyo erayga sirta ah ee looga baahan yahay si aad u samayso xidhiidhkaaga SSH sida uu PuTTY isku dayo u sameeyo.

  • Marka habka galitaanka la dhammeeyo, waxaa lagu siin doonaa marin u helka daaqada terminalka SSH ee desktop-kaaga fog.

Iyada oo tunnelka SSH ee server-kaaga fog fog uu firfircoon yahay, waxaad hadda awoodi doontaa inaad samayso xidhiidh VNC ah. Waxaad isticmaali kartaa macmiil kasta oo VNC ah oo aad doorato, laakiin hagahan waxa uu dhex mari doonaa sida loo xidho addoo isticmaalaya TightVNC , oo ah macmiil VNC caan ah oo bilaash ah Windows iyo Linux .

Waxaad yareeyn kartaa Putty inta uu xiriirku firfircoon yahay.

Isku xirka Isticmaalka TightVNC(Connecting Using TightVNC)

Haddii xidhiidhkaaga SSH uu firfircoon yahay, isku xidhka addoo isticmaalaya TightVNC waa wax fudud. Tani waxay u qaadanaysaa in server-kaaga VNC uu ku shaqaynayo PC-gaaga fog ama seerfarkaaga.

  • Fur TightVNC si aad u bilowdo. Qaybta Xidhiidhka(Connection) , ku qor localhost :: 5901 ama 127.0.0.1(127.0.0.1::5901) :: 5901 gal sanduuqa qoraalka ee martida fog . (Remote Host)PuTTY waxa uu la socdaa dekeddan oo si toos ah ayuu xidhiidhkan ugu gudbin doonaa, marka la isku dayo, seerfarkaaga fog. 
  • Waxaad sii habayn kartaa xidhiidhkaaga VNC adigoo gujinaya Options laakiin, haddii aad diyaar u tahay inaad ku xidho, dhagsii Connect

  • Waxaa lagu waydiin doonaa eraygaaga sirta ah ee VNC server-ka, markaa ku bixi tan daaqadda soo-bandhigidda ee Xaqiijinta VNC(VNC Authentication) , dabadeed dhagsii OK .

Haddii xidhiidhkaaga SSH uu si sax ah u shaqeeyo, TightVNC waa in ay ku shubtaa daaqada fog ee VNC , diyaar u ah inaad isticmaasho. 

Macaamiisha SSH oo leh Taageerada Tunneling(SSH Clients With Tunneling Support)

Halka TightVNC uu yahay macmiil Windows caan ah oo loogu talagalay isku xirka VNC , ma taageerto tunnelka SSH(SSH) gudaha macmiilka laftiisa, taas oo u baahan inaad isticmaasho PuTTY si aad u samayso xidhiidhka.

Macaamiisha VNC ee kale , si kastaba ha ahaatee, waxa ku jira tunnelka SSH(SSH) ee macmiilka laftiisa. Mid ka mid ah tusaale ahaan waa SSVNC kaas oo, iyada oo aasaasi ah, uu hoos marin doono SSH ka hor inta aan la samayn xidhiidhka VNC . SSVNC waxa taageera nidaamyada hawlgalka ee Windows iyo Linux .

  • Fur macmiilka SSVNC oo, gudaha daaqadda macmiilka ee SSVNC , buuxi meelaha loo baahan yahay. Hoosta VNC Host: Bandhiga(VNC Host:Display) , ku qor SSHusername@remoteIPaddress:1. Ku beddel magaca isticmaalaha SSH(SSHusername) magaca isticmaale ee aad u isticmaali lahayd xidhiidhkaaga SSH , oo ku beddel remoteIPaddresska(remoteIPaddress) ciwaanka IP-ga ee fogfog. Tusaale ahaan, [email protected]:1.
  • Hubi inaad dooratid Isticmaalka SSH(Use SSH) ama SSL+SSL ka hor inta aanad ku xidhin. Markaad diyaar noqoto, dhagsii badhanka Connect .

  • Waxaa lagu waydiin doonaa eraygaaga sirta ah ee SSH daaqadda soo baxday. (SSH)Bixi eraygaaga sirta ah, ka dibna taabo geli kiiboodhkaaga.

Marka tunnelka SSH uu shaqeyo, xiriirkaaga (SSH)VNC ayaa bilaaban doona, oo daaqada macmiilka ee VNC waa in uu soo muuqdaa, halkaas oo aad ka bilaabi karto isticmaalka miisaska fog. 

Halka xidhiidhada VNC -da aan si caadi ah loo qarin, Microsoft Protocol-ka Fog ee Protocol- keeda waa la(is) siray. Haddii aad ku shaqeyneyso Windows oo aad qorsheyneyso inaad ku xirto kombuyutarka fog ee Windows ama server, waxaad ku xiri kartaa adiga oo isticmaalaya Qalabka Xiriirinta Masaafada Fog(Remote Desktop Connection) .



About the author

Ganacsi ahaan, waxay ku saabsan tahay abuurista qiimaha macaamiishaada iyo macaamiishaada. Waxaan diiradda saarayaa bixinta tilmaamo tallaabo-tallaabo ah oo ka caawinaya akhristayaashayda inay sida ugu badan uga faa'iidaystaan ​​qalabkooda iyo software-kooda, anigoo isticmaalaya Microsoft Office. Xirfadahayga waxaa ka mid ah kiiboodhka iyo rakibida darawalada, iyo sidoo kale taageerada Microsoft Office. Sannadaha aan khibrad u leeyahay warshadaha, waxaan kaa caawin karaa inaad daboosho baahi kasta oo hardware ama software ah oo aad u baahan tahay.



Related posts