Accessing shell servers over SSH: Difference between revisions

No edit summary
No edit summary
Line 3: Line 3:
Users can access the ULYSSIS servers through two machines: <code>ssh1.ulyssis.org</code> and <code>ssh2.ulyssis.org</code>. Both of them run Linux. You can run commands on these servers or use them to access the files on your ULYSSIS account. The servers can only be accessed trough SSH, not through FTP or any other protocol.
Users can access the ULYSSIS servers through two machines: <code>ssh1.ulyssis.org</code> and <code>ssh2.ulyssis.org</code>. Both of them run Linux. You can run commands on these servers or use them to access the files on your ULYSSIS account. The servers can only be accessed trough SSH, not through FTP or any other protocol.


==Running commands==
==Connecting==


To run a command on the shell servers, you will need to connect to them using a terminal. Our servers do not support a full graphical interface.
To run a command on the shell servers, you will need to connect to them using a terminal. Our servers do not support a full graphical interface.


===Linux===
===Connecting on Linux===


On Linux, you can just open a terminal and connect to the servers by using one of the following commands (with <code>username</code> your username):
On Linux, you can just open a terminal and connect to the servers by using one of the following commands (with <code>username</code> your username):
Line 18: Line 18:
By doing this, the terminal will now act as a terminal on the remote server. To disconnect, type <code>logout</code>, <code>exit</code> or use Ctrl+D.
By doing this, the terminal will now act as a terminal on the remote server. To disconnect, type <code>logout</code>, <code>exit</code> or use Ctrl+D.


===Windows===
===Connecting on macOS===
 
On Mac, you can just open Terminal.
This application can be found in the Utilities folder within your Application folder.
If you don't find it there, you can use Spotlight to find it.
 
You can now connect to the servers by using one of the following commands (with <code>username</code> your username):
 
ssh username@ssh1.ulyssis.org
ssh username@ssh2.ulyssis.org
 
Enter your password and you're connected.
 
By doing this, the terminal will now act as a terminal on the remote server. To disconnect, type <code>logout</code>, <code>exit</code> or use ctrl+D.
 
===Connecting on Windows===


Windows doesn't support native terminals, so you will have to download a program first. A good option is [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty], which is completely free and doesn't require any installation. Just download it and run the .exe file. The parameters:  
Windows doesn't support native terminals, so you will have to download a program first. A good option is [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty], which is completely free and doesn't require any installation. Just download it and run the .exe file. The parameters:  
Line 32: Line 47:


More information about Putty can be found at http://the.earth.li/~sgtatham/putty/0.60/htmldoc/.
More information about Putty can be found at http://the.earth.li/~sgtatham/putty/0.60/htmldoc/.
===Mac===
On Mac, you can just open Terminal.
This application can be found in the Utilities folder within your Application folder.
If you don't find it there, you can use Spotlight to find it.
You can now connect to the servers by using one of the following commands (with <code>username</code> your username):
ssh username@ssh1.ulyssis.org
ssh username@ssh2.ulyssis.org
Enter your password and you're connected.
By doing this, the terminal will now act as a terminal on the remote server. To disconnect, type <code>logout</code>, <code>exit</code> or use ctrl+D.


===Useful ideas===
===Useful ideas===

Revision as of 10:59, 9 August 2021

This documentation articles is aimed at more advanced users who want to use the command line to administer files or perform other actions on their ULYSSIS account. If you prefer to upload, download, move and delete files on your account using a graphical user interface, then please refer to Accessing your files.

Users can access the ULYSSIS servers through two machines: ssh1.ulyssis.org and ssh2.ulyssis.org. Both of them run Linux. You can run commands on these servers or use them to access the files on your ULYSSIS account. The servers can only be accessed trough SSH, not through FTP or any other protocol.

Connecting

To run a command on the shell servers, you will need to connect to them using a terminal. Our servers do not support a full graphical interface.

Connecting on Linux

On Linux, you can just open a terminal and connect to the servers by using one of the following commands (with username your username):

ssh username@ssh1.ulyssis.org
ssh username@ssh2.ulyssis.org

Enter your password and you're connected.

By doing this, the terminal will now act as a terminal on the remote server. To disconnect, type logout, exit or use Ctrl+D.

Connecting on macOS

On Mac, you can just open Terminal. This application can be found in the Utilities folder within your Application folder. If you don't find it there, you can use Spotlight to find it.

You can now connect to the servers by using one of the following commands (with username your username):

ssh username@ssh1.ulyssis.org
ssh username@ssh2.ulyssis.org

Enter your password and you're connected.

By doing this, the terminal will now act as a terminal on the remote server. To disconnect, type logout, exit or use ctrl+D.

Connecting on Windows

Windows doesn't support native terminals, so you will have to download a program first. A good option is Putty, which is completely free and doesn't require any installation. Just download it and run the .exe file. The parameters:

  • Host name: ssh1.ulyssis.org or ssh2.ulyssis.org
  • Protocol: SSH
  • Port: 22 (should be set automatically)

You can save these options for later on.

Next, you will be asked to give your password.

Doing all this will open a terminal to the remote server which can be used the same way as a Linux terminal. To disconnect, type logout, exit or use Ctrl+D.

More information about Putty can be found at http://the.earth.li/~sgtatham/putty/0.60/htmldoc/.

Useful ideas

Here are some useful ideas about what you could do with your shell server access:

Useful commands

Some useful commands can be found here.