Uploaded by 중유가

How to Connect to CSPRO Server

advertisement
How to Connect to CSPRO
[CSE4100]
System Programing
Terminals
§ You need to use terminal to connect to CSPRO~CSPRO10 server
§ There are many terminals you can use
§ I will introduce representative terminals for each OS
2
Windows
§ You can use 'PuTTY' as a terminal to connect
§ Download it from https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
3
Windows
§ If you launch PuTTY, you can see this screen
4
Windows
§ Enter the server address (cspro9.sogang.ac.kr) in Host Name
5
Windows
§ Enter your ID and PW
6
Windows
§ If you succeed to login, you can see the screen like below
§ Now you can do your work in the CSPRO server
7
Linux (Ubuntu)
§ You can use built-in 'Terminal' application in Ubuntu
§ Launch Terminal and enter 'ssh [Your ID]@cspro9.sogang.ac.kr' and your PW
8
Linux (Ubuntu)
§ If you succeed to login, you can see the screen like below
§ Now you can do your work in the CSPRO server
9
macOS
§ You can use built-in 'Terminal' application in macOS
§ Launch Terminal and enter 'ssh [Your ID]@cspro9.sogang.ac.kr' and your PW
10
macOS
§ If you succeed to login, you can see the screen like below
§ Now you can do your work in the CSPRO server
11
passwd
passwd: change user password.
Usage:
$ passwd
(change the password of current account.)
Example:
12
Upload Files to CSPRO
Terminal (Non-Windows) or Command Prompt (Windows)
§ For MacOS or Linux, you can use terminal.
§ For Windows, you can use command prompt.
§ Open a terminal or command prompt.
§ Use “scp” command to copy your file or folder to home directory on CSPRO server.
• scp [Path of a file to be uploaded] [ID]@cspro9.sogang.ac.kr:~/
• scp -r [Path of a folder to be uploaded] [ID]@cspro9.sogang.ac.kr:~/
§ Former one is used to upload one file to server and later one is used to upload one
folder to server.
§ E.g.
• scp a.txt cse20189999@cspro9.sogang.ac.kr:~/
• scp -r pintos cse20189999@cspro9.sogang.ac.kr:~/
14
FileZilla
§ You can download FileZilla to upload files to CSPRO server.
§ https://filezilla-project.org/
15
FileZilla
§ Host: cspro.sogang.ac.kr
• cspro~cspro10
(ex, cspro5.sogang.ac.kr)
§ ID: Your ID on CSPRO server
§ Password: Password
§ Port: 22
§ If you don't specify the port number, you can't access to the server.
16
FileZilla
If you don't specify the port
number, you can't access to the
server.
17
Related documents
Download