Υπηρεσία Τεχνικής Υποστήριξης
Δίκτυο
Λογισμικό
Εργαστήρια
Αίθουσες Διδασκαλίας
Αίθουσες Τηλεδιάσκεψης
Εκτυπωτές και φωτοτυπικά
Ηλεκτρονικό Ταχυδρομείο
Υπηρεσία Τεχνικής Υποστήριξης
Δίκτυο
Λογισμικό
Εργαστήρια
Αίθουσες Διδασκαλίας
Αίθουσες Τηλεδιάσκεψης
Εκτυπωτές και φωτοτυπικά
Ηλεκτρονικό Ταχυδρομείο
This is an old revision of the document!
The turnin command allows students to electronically submit their laboratory exercises and assignments via their account at laboratory workstations of the Computer Science and Engineering Department.
turnin <assignment>@<class> <files-and-directories>
e.g.
turnin assignment1@myy502 demo1.c demo2.java demo3.py
When someone executes the turnin
command, the files whose names are given as parameters, are submitted.
The most common class/course name formats are: myyXXX, myeXXX, plyXXX and pleXXX.
../
.For example, the following commands are NOT valid:
turnin assignment1@myy502 ../Desktop/demo1.c turnin assignment1@myy502 /usr/home/staff/guests/gzachos/demo1.c
All undergraduate laboratory workstations located at PEP-I, PEP-II and PELS educational laboratories belong to 10.7.4.0/24
Local Area Network (LAN). This means that all machines connected to it are assigned an IP address bewtween 10.7.4.1
and 10.7.4.254
.
The 10.7.4.0/24
LAN is a private network and cannot be directly accessed from a machine not belonging in it (i.e. your personal computer located at your home). For this reason, a gateway computer which allows accessing this network from the internet exists. That gateway computer is Scylla (scylla.cs.uoi.gr).
Available hostnames:
opti7020wsXX
, 01 ⇐ XX ⇐ 25opti7010wsXX
, 01 ⇐ XX ⇐ 03hp6200wsXX
, 01 ⇐ XX ⇐ 09hp6000wsXX
, 01 ⇐ XX ⇐ 28, excluding XX = {05, 08-11, 19, 26}ultra20wsXX
, XX = {10, 17-19, 23-29, 31-32, 38-39}
Important note: Workstations opti7020wsXX
, 08 ⇐ XX ⇐ 13 are available 24/7/365. (Valid since March 1st, 2017)
Undergraduate student accounts created after 2012-2013 accademic year are of the following form:
cseYXXXX
where Y is the last digit of the enrollment year at CSED and XXXX is the unique 4-digit student ID.
Another common username form for older student accounts is:
csYYXXXX
where YY is the last two digits of the enrollment year and XXXX is the unique 4-digit student ID.
Scylla has a limited functionality and commands like turnin
, vim
etc. cannot be executed on it. For this reason, submitting an assignment requires connecting to a laboratory computer.
ssh [<user>]@<server>
e.g.
ssh scylla.cs.uoi.gr ssh cse97777@scylla.cs.uoi.gr ssh cs127777@scylla.cs.uoi.gr
Creating an SSH connection to opti7020ws02 requires:
On a linux host open a terminal and run:
ssh scylla.cs.uoi.gr -t 'ssh opti7020ws02'
On a windows host use an SSH client like PuTTY to establish a connection to Scylla and then run ssh opti7020ws02
. For more help refer to: using-putty.md.
Now that you are connected on opti7020ws02 you can turnin your assignment or do whatever you want.
For testing purposes you can try submitting one or more files to assignment1@gzachos
.
i.e.
turnin assignment1@gzachos file.c another-file.c
Important note: An instructor can override default turnin options and unexpected behaviors may be encountered while submitting an assignment. Some of the options available to an instructor is allowing or not the submission of binary files (i.e. PDF) or controlling the maximum number of turnins allowed.
In case the files you want to submit are not located in your account at the CSE department, you have to transfer them in it.
On both a linux and a windows host you can use an SFTP client like Filezilla. For more help refer to: using-filezilla.md.
Additionally, on a linux host you can use the sftp
command.
sftp [<user>]@<server>
e.g.
sftp scylla.cs.uoi.gr sftp cse97777@scylla.cs.uoi.gr sftp cs127777@scylla.cs.uoi.gr
gzachos@iris:~$ sftp scylla.cs.uoi.gr Connected to scylla.cs.uoi.gr. sftp> pwd Remote working directory: /usr/home/staff/guests/gzachos sftp> lpwd Local working directory: /home/gzachos sftp> put ./Desktop/dlv1.c Uploading dlv1.c to /usr/home/staff/guests/gzachos/dlv1.c 100% 154 0.2KB/s 00:00 dlv1.c sftp> bye gzachos@iris:~$
The put
command transfers ./Desktop/dlv1.c
from my personal computer to my home directory @cse.uoi.gr.
A command prefix l
(lowercase L
) stands for “local” and that command takes effect on local host (not remote - scylla).
Other useful commands: ls
, lls
, cd
, lcd
, get
, rm
, rmdir
.
For more information visit: sftp(1) - Linux man page.
Download and install Filezilla.
Run Filezilla.
Complete the required fields (those inside the orange box) as shown in the picture below and press “Quickconnect” button.
In the left section of the program window (orange box), you can see which files exist on local host (i.e. home computer). Now you have to locate the files you want to transfer. (for faster results you can edit the path)
In the right section of the program window, you can see the files in your CSE department account. Choose the directory where you want the files to be saved after transfer (e.g. ~/Desktop
).
Drag and drop the files from the source folder (left section) to the destination directory (right section).
Run PuTTY.
Complete the required fields (those inside the red boxes) like shown in the picture below, making sure the SSH option is selected. Press Open button at the bottom right of the window.
Enter your username & password and hit “Enter”. Note that you will get NO feedback while entering your password. In other words, you will not be able to see what characters you type or how many they are.
Now that you are logged in on Scylla, create an SSH connection to opti7020ws02
by running ssh opti7020ws02
and provide once again your username and password.
Once connected to opti7020ws02
you will see the prompt below:
Created by gzachos