The path specified after : is relative to your home directory. Let you both upload and download files, but both will be done from your localįor example, to copy my-file.cpp to the project-1 directory CAEN, you couldĭo this: $ scp my-file.cpp course, you don’t want to type out the whole bitĮvery time, so we can use the SSH alias you just set up: $ scp my-file.cpp caen:project-1 (probably the computer you're viewing this on right now). You'll want to use scp by running it on your local machine Scp’s syntax is the same as cp’s, except that either the source or You can use the scp command (secure copy) to copy files to and from CAEN. ~/.ssh/config may not exist, especially if you've never used itīefore. This sets up a new alias, so now you can type ssh caen instead to log into Edit the file ~/.ssh/config and add these lines (changing you to Fortunately, ssh has a built-in method for setting up aliases for You probably don’t like typing the verbose ssh all Mounting CAEN as if it were a local drive. Prefer to use this to avoid having to manually keep things in sync. If it were on your local computer, but it only works in OS X and Linux. However, I don’t have any experience with it and thusĪt the end of this article, there’s a guide to mounting a directory on CAEN as If you’re using Sublime Text, many students use an SFTP plugin to automatically Alternatives include MFile, using an SFTPĬlient, or using an SFTP plugin for your editor. This is a handful of tips for managing files on CAEN effectively using command
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |