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