Cov txheej txheem:

Kuv yuav ua li cas SCP rau ec2 piv txwv?
Kuv yuav ua li cas SCP rau ec2 piv txwv?

Video: Kuv yuav ua li cas SCP rau ec2 piv txwv?

Video: Kuv yuav ua li cas SCP rau ec2 piv txwv?
Video: Tupao Xiong & Nhia Chang - Kuv Tsis Paub Yuav Ua Li Cas (Original) 2024, Hlis ntuj nqeg
Anonim

Luam cov ntaub ntawv ntawm koj lub computer thiab koj piv txwv koj tuaj yeem siv qhov kev pabcuam FTP zoo li FileZilla lossis cov lus txib scp uas stands rau daim ntawv ruaj ntseg. Siv scp nrog tus khub tseem ceeb siv cov lus txib hauv qab no: scp -i path/to/key file/to/copy [email tiv thaiv] ec2 ua -xx-xx-xxx-xxx.compute-1.amazonaws.com:path/to/file.

Kuj paub, kuv yuav upload cov ntaub ntawv li cas rau ec2 piv txwv?

Yuav Ua Li Cas Upload Thiab Download Cov Ntaub Ntawv Hauv Amazon AWS EC2 Instance

  1. Kauj ruam 1: Nruab thiab qhib FileZilla.
  2. Kauj ruam 2: Mus Kho kom raug -> Chaw -> SFTP.
  3. Kauj ruam 3: Hauv FileZilla homepage nkag mus rau tus tswv tsev cov ntsiab lus (public IP, elastic IP lossis pej xeem DNS), thiab nkag mus rau tus neeg siv lub npe hauv thaj chaw cuam tshuam. (username sib txawv rau cov duab sib txawv.

Ib tug kuj yuav nug, Kuv yuav nkag mus rau kuv li ec2 piv txwv username thiab password li cas? Password Authentication For AWS ec2

  1. Kauj ruam 1: Nkag mus rau tus neeg rau zaub mov siv ssh tus neeg siv koj xaiv siv tus yuam sij ntiag tug.
  2. Kauj ruam 2: Qhib cov ntaub ntawv sshd_config.
  3. Kauj ruam 3: Nrhiav kab uas muaj "PasswordAuthentication" parameter thiab hloov nws tus nqi ntawm "tsis yog" mus rau "yog"
  4. Kauj ruam 4: Teeb tus password rau tus neeg siv siv "passwd" hais kom ua nrog rau tus neeg siv lub npe.

Ib yam li ntawd, kuv yuav ua li cas SSH rau hauv ec2 piv txwv?

Txhawm rau txuas los ntawm Amazon EC2 console

  1. Qhib Amazon EC2 console.
  2. Nyob rau sab laug navigation pane, xaiv Instances thiab xaiv qhov piv txwv uas yuav txuas.
  3. Xaiv Txuas.
  4. Nyob rau nplooj ntawv Txuas Rau Koj Qhov Piv Txwv, xaiv EC2 Instance Connect (browser-based SSH txuas), Txuas.

Kuv yuav txuas ob qhov ec2 li cas?

3 Teb

  1. Log to AWS Console.
  2. Nyem rau EC2 Service.
  3. Nyob rau sab laug vaj huam sib luag, nyem rau ntawm Security Groups.
  4. Nyem rau ntawm lub pob Tsim Kev Ruaj Ntseg Pab Pawg.
  5. Ib qho overlay yuav qhib.
  6. Sau-hauv lub npe thiab cov lus piav qhia ntawm koj xaiv.
  7. Nyem rau ntawm lub tab Inbound thiab nyem rau ntawm Ntxiv Txoj Cai.
  8. Ntawm no, koj tab tom ntxiv qhov chaw nres nkoj yuav tsum lees txais kev sib txuas.

Pom zoo: