Use Putty to copy log files from a Linux server to a local

Source: Internet
Author: User
Tags ssh port

    1. Open Putty, enter the host name or IP you want to access for example:qtstgfs2job01.appnet.atpco.org

2. Login, default SSH port 22

650) this.width=650; "style=" width:349px;height:278px; "src=" http://g.hiphotos.baidu.com/baike/s%3D220/sign= 74783d6562d0f703e2b292de38fb5148/37d3d539b6003af3c4ecb712352ac65c1038b66a.jpg "/>

3. Enter the user name, password

4. Go to the Log folder (command: Cd/log)

5. View all log files (command: ls-a)

6. Go to the command line and go to PuTTY install directory CD C:\Program Files (x86) \putty

7. Copy File command:

PSCP [email protected]:/log/qtstgfs2job01_gfsload.log c:\test\GfsLoad.log

where Atpstyz is the user name

Qtstgfs2job01.appnet.atpco.org is the server name

Copy the contents of the Stgfs2job01_GfsLoad.log.log file to the GfsLoad.log file in the test folder on the local C drive (created locally)

Use Putty to copy log files from a Linux server to a local

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.