

The basic idea is that you generate a pair of keys, one is private, one is public.

Your password is saved as it is in ~/.netrc. Machine .ip login username password sZ right way $ chmod 600 ~/.netrc # hide it from others $ open ~/.netrc # edit it, put the following into it: You can save your connection information (including the password) in this file: This can also be achieved in the command line through a file called ~/.netrc. Normally, a GUI SSH client can save your password to the server so that you don’t have to type it next time. The same method works in Cyberduck and Filezilla. When you save your modification of the file, the updated version will be uploaded to the remote machine automatically. GUI programsĭouble click on a remote file shown in the MobaXterm side panel after you ssh into a remote machine, the file will be open in the MobaTextEditor. If you are an Emacs or Vim user, both editors provide commands to directly edit remote files. One can drag files in and out of it for copying. MobaXterm in Windows provides a nice side panel that shows files in the current folder in the terminal. $ scp localFile #copy local file to remote machine $ scp localCopy #copy remote file to local machine $ scp localCopy #specify full path to a file $ scp localCopy
