![]() ![]() In order to copy the file back from Peregrine to the local system, source and destination have to be interchanged and adjusted where necessary. If the directory would not have existed the file would have been renamed as my_project in the users home directory on Peregrine. Note that if you don't specify the username, the username will be taken to be your username on the local system. Note that the part is prefixed by a colon scp vars.yml 100% 3495 198.4KB/s the example above the file vars.yml from the directory workdir on the local desktop or laptop is being sent to the users directory my_project on Peregrine. Here is an example that will transfer a single file from the local system to a directory, within the home directory of the user in Peregrine. Either source or destination can be prefixed by a username and hostname for specifying the remote side. Scp is a command for copying files to or from a remote location, accessible through SSH, over the network. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |