![]() You should see the following output: 's password: If you want to copy a file named /etc/rc.local from localhost to the remote host (172.20.10.3) in /mnt directory, run the following command: scp /etc/rc.local :/mnt/ p: Used to preserve permissions, modes, and access time of files while copying. l: Used to limit the bandwidth while copying. v: Used to display verbose output during file transfer. ![]() r: Used to copy files and directories recursively. P: Specify the ssh port number of the destination host. Some of the options used in scp command are listed below: Source-ip: IP address of the system from where you want to copy files or directories.ĭest-ip: IP address of the system destination system. ![]() The basic syntax of the SCP command is shown below: scp :/file_or_directory :/directory Once you are logged in to your Ubuntu 18.04 server, run the following command to update your base system with the latest available packages. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page. Create a new server, choosing Ubuntu 18.04 as the operating system with at least 1GB RAM. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |