Cov txheej txheem:

Siv SSH thiab XMing los Qhia X Cov Haujlwm Los Ntawm Linux Computer ntawm Windows Computer: 6 Kauj Ruam
Siv SSH thiab XMing los Qhia X Cov Haujlwm Los Ntawm Linux Computer ntawm Windows Computer: 6 Kauj Ruam

Video: Siv SSH thiab XMing los Qhia X Cov Haujlwm Los Ntawm Linux Computer ntawm Windows Computer: 6 Kauj Ruam

Video: Siv SSH thiab XMing los Qhia X Cov Haujlwm Los Ntawm Linux Computer ntawm Windows Computer: 6 Kauj Ruam
Video: qhia kom muaj neeg ຕິຕາມkoj tu youtube 2024, Hlis ntuj nqeg
Anonim
Siv SSH thiab XMing los Qhia X Cov Haujlwm Los Ntawm Linux Computer ntawm Windows Computer
Siv SSH thiab XMing los Qhia X Cov Haujlwm Los Ntawm Linux Computer ntawm Windows Computer

Yog tias koj siv Linux ntawm kev ua haujlwm, thiab Windows nyob hauv tsev, lossis hloov pauv, koj yuav qee zaum xav tau nkag mus rau lub khoos phis tawj ntawm koj lwm qhov chaw, thiab khiav cov haujlwm. Zoo, koj tuaj yeem teeb tsa X Server, thiab pab kom SSH Tunneling nrog koj tus SSH Client, thiab ib-ntxiv ob VNC thiab Remote Desktop, kom nrawm thiab siv tau qhov no 'ible npog siv sourceforge.net/projects/xming/ thiab www.bitvise.com/tunnelier raws li koj lub Windows daws teeb meem, thiab Openssh rau Linux sab. Ntawm ib sab ntawv, txhua yam no tseem tuaj yeem siv LogMeIn Hamachi ua qhov yooj yim-rau-siv VPN.

Kauj Ruam 1: Teeb Koj Li SSH Client

Teem Koj Li SSH Client
Teem Koj Li SSH Client
Teem Koj Li SSH Client
Teem Koj Li SSH Client

Hauv qib no, peb yuav teeb tsa koj li SSH Client. Ua ntej, nruab koj daim ntawv Bitvise Tunnelier, thiab pib nws. Koj tuaj yeem tsim kev sib txuas profile nrog Linux server tus IP chaw nyob lossis tus tswv tsev, thiab xaiv cov ntaub ntawv nkag mus tsis siv neeg. Ib feem txuas ntxiv ntawm cov kauj ruam no yog sau cov chaw nres nkoj kom xa mus los ntawm SSH. Rau Windows X Server, peb yuav xa cov linux lub thawv chaw nres nkoj 6010 mus rau lub qhov rais lub thawv chaw nres nkoj 6000, qhov twg XMing yuav khiav. Txoj kev no, Linux tus kheej X Server tuaj yeem ua haujlwm tsis muaj kev cuam tshuam, ntawm chaw nres nkoj 6000.

Kauj Ruam 2: Nruab XMing, X Server rau Windows

Khiav lub installer program rau XMing. Tom ntej no, pib XMing hauv keeb kwm yav dhau. Koj tuaj yeem hla qhov kev xaiv teeb tsa, vim qhov ua tsis tau zoo yuav tsum zoo.

Kauj ruam 3: Nco ntsoov tias OpenSSH tau teeb tsa ntawm Linux

Nco ntsoov tias OpenSSH tau teeb tsa ntawm Linux
Nco ntsoov tias OpenSSH tau teeb tsa ntawm Linux

Ntawm koj lub Linux Computer, nco ntsoov tias OpenSSH tau teeb tsa thiab ua haujlwm. Rau Ubuntu, koj tuaj yeem yooj yim khiav "sudo apt-get install openssh-server" hauv kab lus hais kom ua. Lwm yam Linux Kev faib tawm yuav txawv.

Kauj Ruam 4: Ntxiv Tsis Siv Neeg "DISPLAY" Hloov pauv rau Linux Computer

Ntxiv Tsis Siv Neeg
Ntxiv Tsis Siv Neeg
Ntxiv Tsis Siv Neeg
Ntxiv Tsis Siv Neeg
Ntxiv Tsis Siv Neeg
Ntxiv Tsis Siv Neeg

Ntxiv cov kab hauv qab no mus rau qhov kawg ntawm cov ntawv hauv "$ {HOME}/. Bashrc": yog [-d "$ {HOME}/bin"]; tom qab ntawd xa PATH = "$ {PATH}: $ {HOME}/bin" yog [-f "$ {HOME}/bin/ssh_login"]; ces "$ {HOME}/bin/ssh_login" fifiNext, tsim cov ntawv "$ {HOME}/bin/ssh_login". Tsim cov ntaub ntawv nrog cov ntsiab lus pib hauv qab no:#!/Bin/shif [-n "$ {SSH_CLIENT}"]; ces yog [-z "$ {DISPLAY}"]; tom qab ntawd xa tawm DISPLAY = 'localhost: 10' fifi Tom qab khaws cov ntaub ntawv, khiav cov lus txib hauv qab no: "chmod 777 $ {HOME}/bin/ssh_login" kom ua tsab ntawv ua tiav. Qhov no ua li cas, yog cov ntsiab lus X program pib los ntawm lub console uas tau nkag mus ntawm SSH mus rau qhov chaw nres nkoj uas rov coj ncaj qha rov qab mus rau SSH-Client PC, qhov no, Windows PC khiav XMing. Qhov no tsuas yog txuag peb los ntawm kev ntaus tib "DISPLAY =" kab txhua zaus koj nkag mus ntawm SSH.

Kauj Ruam 5: Pib Koj Li SSH Client

Pib Koj Tus Neeg Siv SSH
Pib Koj Tus Neeg Siv SSH
Pib Koj Tus Neeg Siv SSH
Pib Koj Tus Neeg Siv SSH

Pib koj li SSH Kev Sib Tham los ntawm txhaj rau "Nkag mus" khawm. Tom qab thawj qhov kev tso cai ua tiav, thiab koj lees txais ib qho yuam sij encryption uas koj xav tau, koj yuav zoo li muaj qhov hais kom ua qhov rai thiab lub qhov rooj ruaj ntseg ftp qhib. Koj tuaj yeem kaw sFTP qhov rai, rau tam sim no. Txhawm rau sim koj teeb tsa, khiav "xeyes" los ntawm qhov hais kom ua sai. Yog tias koj pom ob lub qhov muag loj googley tom qab koj nas, nrog X-Windows lub cim thiab lub qhov rai bar saum lawv, tom qab ntawd koj teeb tsa ua haujlwm!

Kauj ruam 6: Linux-rau-Linux Version

Linux-rau-Linux Version
Linux-rau-Linux Version
Linux-rau-Linux Version
Linux-rau-Linux Version

Raws li cov kauj ruam ntxiv, Yog tias koj tab tom sim ua tib yam khoom los ntawm Linux Client, mus rau Linux cais server, qhov ntawd yooj yim heev. Txhua lub khoos phis tawj yuav tsum muaj openSSH Client thiab Server teeb tsa. Ntawm ib lub khoos phis tawj, tsuas yog khiav "ssh -l -Y". Qhov "-X" thiab "-Y" xaiv ua rau X Server xa mus, ib yam li ntawd, tab sis qhov "-Y" xaiv ua rau muaj ntau tus neeg rau zaub mov ntau dua li "-X" ua. khoos phis tawj tus neeg siv uas nkag mus rau hauv, yog tias tsis muaj tus neeg siv zoo ib yam rau lub npe siv uas koj tau nkag rau hauv nrog tus neeg siv PC.

Pom zoo: