The file provisioner supports both ssh and winrm type connections. If you enter the "directory" name sftp://student-shell/ (using the name set in ~/.ssh/config) you can drag-and-drop files between that window and others on your system. SCP or secure copy allows secure transferring of files between a local host and a remote host or between two remote hosts. The file provisioner is used to copy files or directories from the machine. scp uses the same underlying protocols as ssh. Most file managers in Linux and Unix systems can use sftp. Copy a file or folder remotely In the Terminal app on your Mac, use the scp command to copy a file or folder to or from a remote computer. Rsync -av student-shell:classes kth-classes/ Just put the remote path first to download to the local machine. Transfer from KTH to local machineīoth scp and rsync work in either direction. You can also transfer files using sftp, but must then keep track of both local directory ( lcd, lpwd) and remote directory ( cd, pwd), and use put/get to upload and download files respectively.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |