Accessing your files: Difference between revisions

From ULYSSIS documentation
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This documentation article will explain how to to upload, download, move and delete files on your account using a graphical user interface. If you are a more advanced user, you may want to use the command line to administer your files, in that case [[Accessing shell servers over SSH]] is probably a more relevant documentation page for you.
This documentation article will explain how to upload, download, move and delete files on your account using a graphical user interface. If you are a more advanced user, you may want to use the command line to administer your files, in that case [[Accessing shell servers over SSH]] is probably a more relevant documentation page for you.


Many different SFTP clients are available depending on your needs and what operating system you run on your computer. For Windows and Mac users, we recommend the graphical SFTP client [https://cyberduck.io/download/ Cyberduck]. If you're using Linux, your file manager usually has a built-in option to connect using the details mentioned in [[#Connecting | Connecting]].
Many different SFTP clients are available depending on your needs and what operating system you run on your computer. For Windows and Mac users, we recommend the graphical SFTP client [https://cyberduck.io/download/ Cyberduck]. If you're using Linux, your file manager usually has a built-in option to connect using the details mentioned in [[#Connecting | Connecting]].
Line 7: Line 7:
{{notice|Keep in mind|Our automatic security systems may temporarily prevent you from connecting over SSH/SFTP if you try to connect several times with the wrong username and/or password. This will result in the connection being refused. You can switch between sftp://ssh1.ulyssis.org and sftp://ssh2.ulyssis.org when this happens or wait 10 minutes. More information on our security measures is available on [[ULYSSIS security measures]]}}
{{notice|Keep in mind|Our automatic security systems may temporarily prevent you from connecting over SSH/SFTP if you try to connect several times with the wrong username and/or password. This will result in the connection being refused. You can switch between sftp://ssh1.ulyssis.org and sftp://ssh2.ulyssis.org when this happens or wait 10 minutes. More information on our security measures is available on [[ULYSSIS security measures]]}}


A Cyderduck-specific explanation can be found at [[#Connecting_2 | Cyberduck: Connecting]]. To access your files using another program you will have to enter the following connection details:
A Cyberduck-specific explanation can be found at [[#Connecting_2 | Cyberduck: Connecting]]. To access your files using another program you will have to enter the following connection details:
* Protocol: SFTP
* Protocol: SFTP
* Server: "ssh1.ulyssis.org" or "ssh2.ulyssis.org"
* Server: "ssh1.ulyssis.org" or "ssh2.ulyssis.org"

Latest revision as of 10:57, 9 August 2021

This documentation article will explain how to upload, download, move and delete files on your account using a graphical user interface. If you are a more advanced user, you may want to use the command line to administer your files, in that case Accessing shell servers over SSH is probably a more relevant documentation page for you.

Many different SFTP clients are available depending on your needs and what operating system you run on your computer. For Windows and Mac users, we recommend the graphical SFTP client Cyberduck. If you're using Linux, your file manager usually has a built-in option to connect using the details mentioned in Connecting.

Connecting

NoticeKeep in mind

Our automatic security systems may temporarily prevent you from connecting over SSH/SFTP if you try to connect several times with the wrong username and/or password. This will result in the connection being refused. You can switch between sftp://ssh1.ulyssis.org and sftp://ssh2.ulyssis.org when this happens or wait 10 minutes. More information on our security measures is available on ULYSSIS security measures


A Cyberduck-specific explanation can be found at Cyberduck: Connecting. To access your files using another program you will have to enter the following connection details:

  • Protocol: SFTP
  • Server: "ssh1.ulyssis.org" or "ssh2.ulyssis.org"
  • Port: 22
  • Username: your ULYSSIS account username, the one you use for ucc.ulyssis.org
  • Password: your ULYSSIS account password

On our servers, your files are stored in your home folder located at /home/(group)/(username)/, where the group depends upon your account type and the username is your ULYSSIS account username. Any regular user is stored within the user group, and their files are stored within /home/user/(username). For organizations, org is used, so files are stored within /home/org/(username). Most (S)FTP clients will by default display your own home folder after you've logged in.

Using Cyberduck

To get started, download Cyberduck from the official website. You can then install the downloaded file like you would install any other application. Once installed, launch Cyberduck and connect using the steps below.

Connecting

  • Click on Open Connection in the top-left corner.
  • Protocol (upper dropdown menu): "SFTP (SSH File Transfer Protocol)"
  • Username: your ULYSSIS account username, the one you use for ucc.ulyssis.org
  • Password: your ULYSSIS account password
  • Server: "ssh1.ulyssis.org" or "ssh2.ulyssis.org"
  • Enable "Save Password" if you don't want to enter your password every time you want to connect using this computer
  • Press connect

If you get a dialog window about an unknown fingerprint, tick the "Always" box in the bottom left and then click allow. You will now be connected and able to access your files.

When you connect to a server using Cyberduck, the remote files will appear:

Navigating

You can open a folder by double-clicking it. To go back up one step you can press the "Up" button to the right of the "Current Folder" dropdown.

To go back up multiple steps you can click on the "Current Folder" dropdown and select which folder you would like to go back to.

Viewing hidden files

To make hidden files, whose filename always start with a '.', visible, click on View -> Show Hidden Files. This is necessary because some files like ".htaccess" and ".user.ini" are hidden by default and they need to be edited sometimes.

Hidden Files.png

Uploading files and folders

To upload a file or folder, you can use the "Upload" button in the top menu bar and select the file or folder you wish to upload using your file manager.

Or you can drag and drop it from your file manager (Explorer for Windows, Finder for Mac) into the current folder in Cyberduck.

Downloading files and folders

To download files and folders, you can drag and drop it into your file manager (Explorer for Windows or Finder for Mac), just like uploading but in the other direction. For files specifically it's also possible to simply double-click the file. This will then download it to your Downloads folder.

Creating and Deleting files and folders

To create a folder, you right click where you want your folder to be located and then click the "New Folder" option as seen below. You can then type a name for your new folder.

To create a file, you right click in the folder where you want your file to be located and then click the "New File" option as seen below. You can then type a name for your new file, making sure to include the necessary extension (e.g. file.txt for a text file, file.php for a PHP file, etc.).

You can delete a file or folder by selecting it and then either pressing the "Delete" key on your keyboard, or right-clicking and selecting "Delete".

Editing files

Cyberduck allows you to edit files remotely by selecting a file and then pressing the "Edit" button in the top menu bar, next to the "Upload" button. This opens the file in your text editor (by default Notepad for Windows and TextEdit for Mac). After you're done editing, make sure to save the file using the text editor and then close it.