User Tools

Site Tools


wiki:networking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:networking [2015/11/24 10:18]
asa
wiki:networking [2016/08/02 14:47] (current)
Line 45: Line 45:
 It may take a little longer than usual for the gedit window to appear because it takes more bandwidth to be able to show a GUI program. ​ For that reason it's usually best to use command line programs on remote servers. It may take a little longer than usual for the gedit window to appear because it takes more bandwidth to be able to show a GUI program. ​ For that reason it's usually best to use command line programs on remote servers.
  
 +==== scp:  secure copying ====
  
 +Using ''​scp''​ we can securely transmit files to/from a remote host.  To copy a file to the cs580 directory in my CS account:
 +<code bash>
 +$ scp my_file.txt asa@olympia.cs.colostate.edu:​cs580
 +</​code>​
 +You can omit the path name, in which case the file will be placed in your home directory:
 +<code bash>
 +$ scp my_file.txt asa@olympia.cs.colostate.edu:​
 +</​code>​
 +You can also copy files in the other direction:
 +<code bash>
 +$ scp asa@olympia.cs.colostate.edu:​cs580/​my_file.txt .
 +</​code>​
 +which will copy the given file to the current directory.
  
  
  
wiki/networking.txt ยท Last modified: 2016/08/02 14:47 (external edit)