This blog records some basic commends about the use in Linux Server.
SSH
SSH is used to make connection with the remote server.
Connect the server
1 | ssh xxx@xxx.ecs.soton.ac.uk |
Close the connection
1 | exit |
SCP
1 | SCP is for transport between the local and remote. |
Transfer the entire file folder
1 | The formmer path is the `from` location, the latter one is the destination. |
Transfer a single file
no -r
1
scp xxx@xxx.ecs.soton.ac.uk:PATH LOCALPATH
Use Jupyter
Run jupyter on the remote and open it from local port. You can follow the instruction: [http://fizzylogic.nl/2017/11/06/edit-jupyter-notebooks-over-ssh/]1
2
3jupyter notebook --no-browser --port=8080 # run on the remote machine
ssh -N -L 8080:localhost:8080 xxx@xxx.ecs.soton.ac.uk # run in the local machine terminal