tencent cloud

Tencent Cloud Lighthouse

Release Notes and Announcements
Image Release Notes
Announcements
Product Introduction
Overview
Basic Concepts
Strengths
Scenarios
Use Limits
Region and Network Connectivity
Product Comparison
User Guide
Billing
Billing Overview
Instance Package
Pricing Details
Purchase Methods
Configuration Adjustment (for Upgrade Only)
Overdue Payments
Refund
Getting Started
One-Click Application Creation Using Lighthouse
Quick Instance Creation
User Guide
Instances
Cloud Disks
Images
Firewall
Private Network Interconnection
Data Backup and Restoration Using Snapshots
Cloud Access Management
OPS and Monitoring
File Transfer
Use Cases
Website Building
Development Environment Building
Cloud Storage System Building
E-commerce Platform Building
Personal Live Streaming Room Building
FTP Service Building
SSL Certificate Installation
Troubleshooting
Windows Instance: RDP Connection to the Remote Computer Fails
Windows Instance: Offline Password Resetting Fails or Invalid
Linux/Windows Instance: Online Password Resetting Fails or Invalid
API Documentation
History
Introduction
API Category
Making API Requests
Image APIs
Firewall APIs
Key APIs
Instance APIs
Snapshot APIs
CCN APIs
Other APIs
Cloud Disk APIs
Scene APIs
Package APIs
Quota APIs
Region APIs
Data Types
Error Codes
FAQs
Agreements
Privacy Policy
Data Processing And Security Agreement
Contact Us
DokumentasiTencent Cloud LighthouseUser GuideFile TransferUsing SCP on Linux or macOS to Transfer Files to Linux Lighthouse

Using SCP on Linux or macOS to Transfer Files to Linux Lighthouse

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2022-08-15 18:03:47

Overview

The document uses a Lighthouse instance with CentOS 7.6 as an example to describe how to upload and download files via SCP.
Note:
To get started, ensure that you have configured the Lighthouse instance admin account and password. If you haven't set or forgot the password, please reset password.

Directions

Obtaining a public IP

Log in to the Lighthouse console and obtain the public IP of the target Lighthouse instance on Instances page.

Uploading files

1. Run the following commands on the local server, and upload the files to the Linux-based Lighthouse instance.
scp Local file address Lighthouse instance account@Lighthouse instance public IP/domain name:Lighthouse instance file path
For example, you can run the following command to upload the local file /home/lnmp0.4.tar.gz to the same directory of the Lighthouse instance whose public IP is 129.20.0.2:
scp /home/Inmp0.4.tar.gz root@129.20.0.2:/home/Inmp0.4.tar.gz
2. Enter yes and press Enter to confirm the upload and enter the login password to complete the upload.

Downloading files

Run the following command on the local server to download a file from a Linux-based Lighthouse instance.
scp Lighthouse instance account@Lighthouse instance public IP/domain name:Lighthouse instance file path Local file address
For example, you can run the following command to download the file /home/lnmp0.4.tar.gz from the Lighthouse instance whose public IP is 129.20.0.2 to the same local directory:
scp root@129.20.0.2:/home/Inmp0.4.tar.gz /home/Inmp0.4.tar.gz


Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan