Linux commands for uploading files to the server

Source: Internet
Author: User
Tags scp command ssh secure shell
Run the $ sshusername @ remotehost2scp command scp in Cygwin to upload files to the server in Linux. The local files can be copied to the specified directory on the remote service based on the SSH protocol. the format is as follows: $ scpfilenameusername...
Linux commands for uploading files to the server

1 ssh www.2cto.com in Cygwin: $ ssh username @ remotehost 2 scp command scp based on the SSH protocol, you can copy Local files to a specified directory on the remote service, the format is as follows: $ scp filename username @ remotehost: remotedirectory execution: $ scp ipmsg. log admin@10.25.1.202:/home/admin 3 ftp/sftp first log on to the remote Linux server with the root user and add the admin user to the FTP account. Use the echo command to append a line to the user_list File: # echo admin> user_list and then use the service command to enable the FTP service: # service vsftpd start. now, you can access the FTP remote server on the local machine, then upload the file using the put command. Run $ sftp admin@10.25.1.202 4 SSH Windows clientsshcommand in Cygwin to use scp2.exe as the scp command tool in Windows. Location: C: \ Program Files (x86) \ SSH Communications Security \ SSH Secure Shell
Related Article

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.