Maitiro ekuchimbidza SSH kubatana muGNU / Linux

linux-ganda

ari SSH kubatana ndeimwe ye zvishandiso zvinonyanya kushandiswa neSysAdminIzvi zvinonyanya kukonzerwa nekuchinjika kwayo uye nesarudzo dzakanaka kwazvo dzekuchengeteka, asi sezvazvinongoita sarudzo dzese dzekubatanidza pane nzira dzakawanda dzekuishandisa uye zvimwe zvinoreva kuti kumhanya kunowanikwa hakusi iko kwakanyanya kunaka nguva dzose. Muzviitiko izvi, zvinosuwisa, isu tichafanirwa kutendeukira kune dzimwe nzira dzekugadzirisa dzinotitendera kuti tiwane hunhu hwakachengeteka uye hwakachengeteka mhando, ndosaka tichida kuratidza 3 nzira dzekumhanyisa SSH kubatana muGNU / Linux.

Chaizvoizvo, isu tinoda kutaura nezvazvo zvigadziriso sarudzo izvo zvinotibvumidza isu kukunda zvipingamupinyi zvakaita sekubatana kwakaipa, kana chokwadi chekuti tiri kugadzira akati wandei kubatana panguva imwe chete kune imwechete server, mune dzimwe nguva kunyangwe kuwana graphical maturusi kuburikidza X Kutumira, iyo inogona kuita kuti kumhanya kunodiwa kukwire.

Chimwe chezvinhu zvekutanga zvatingaite ndeichi kumanikidza SSH kubatana pamusoro pe IPv4Iyi protocol inobvumawo kubatana neiyo nyowani IPv6, iyo pane imwe nguva inozopedzisira yave kudikanwa kwazvo asi parizvino haina kudaro, uye chokwadi chekushandisa rutsigiro rwezvose zviri zviviri zvinoreva kuti dzimwe nguva kubatana kunogona kuva chimwe chinhu chinononoka. Asi isu tinokwanisa kubatana kune chero server tichishandisa SSH chete kuburikidza neIvv4 tichishandisa paramende "-4" zvinotevera:

# ssh -4 mushandisi@remoteserver.com

Imwe nzira yekuita izvi kugadzirisa faira yekumisikidza / etc / ssh / ssh_config, tinofanira kutsvaga kupi mutsara "AddressFamily" uye musiye akashinga "Inet", zvinova zvinoreva kuti tichabatana tichishandisa IPv4.

Imwe gadziriso ichatibvumidza isu kuvandudza kumhanya ndeye iyo dzinga DNS Lookup pakombuta iri kure, uye ndezvekuti zvese izvi zvekutsvaga IP yekombuta uye kubva kwazviri kuwana zita revaenzi chinhu chinoda zviwanikwa uye zvinobatsira kuti zvinhu zvinonoke zvishoma, izvo zvatinofanirawo kuenda kumafaira kumisikidzwa kwe iyo SSH server, (/ etc / ssh / sshd_config) uye siya sarudzo ye "UseDNS" ine kukosha "kwete". Tinogonawo kumanikidza kushandisa zvekare kweSSH kubatanaMune mamwe mazwi, kana uchigadzira kubatana kutsva, kuyedzwa kuchaitwa kuti ishandise imwe yakatosimbiswa, chimwe chinhu chinogona kukurumidza zvikuru kupfuura kugadzira imwe nyowani.

Kune izvi, tinoenda kune iyo faira / etc / ssh / ssh_config uye wedzera mitsara inotevera:

KudzoraMaster auto
ControlPath - /. Ssh / zvigadziko /% r% h-% p
KudzoraPersist 600

Mutsara wekupedzisira (ControlPersist) unotaurira iyo SSH sevhisi kuti ichengetedze kubatana yakavhurika - asi kumashure- kwemasekondi mazana matanhatu mushure mekuvharwa, kuishandisa zvakare kana ungagamuchira chikumbiro chitsva chekubatanidza. Kana isu tikawedzera mutsara "Hostname servername" tinogona kuratidza kuti kumisikidzwa uku kunongoshandiswa chete SSH kubatana kune imwe komputa, yatinotsiva servername ine zita rakakodzera.

Nedzidzo idzi dzakareruka tinogona kuwana kumwe kuvandudzwa mu kumhanya kweSSH kubatana uye zvakare munguva inotora kuzvimisikidza, chimwe chinhu chisingazoonekwe kana tiine yakawanda bandwidth uye tichishanda kunetiweki yemuno, asi izvo zvatinozokoshesa kana tikabatana kune akati wandei maseva ari kure.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Makomendi gumi, siya zvako

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

  1.   Migel Ngirozi akadaro

    Rakanakisa ruzivo ndinokutendai zvikuru |

  2.   Migel Ngirozi akadaro

    Ini ndinoshandisa uyu kuraira zvakanyanya, maita basa kwazvo