Wiki Page Content

Differences between revisions 10 and 25 (spanning 15 versions)
Revision 10 as of 2020-05-13 09:35:07
Size: 2068
Editor: fhoma
Comment: typo
Revision 25 as of 2023-04-25 11:28:09
Size: 4870
Editor: fhoma
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
In here you will find information about how to login into our servers from MIB and outside MIB (home,...) In here you will find information about how to log into our servers from MIB and outside MIB (home,...)
Line 12: Line 12:
== How to connect to the MIB system == == How to log in to the MIB system ==
Line 17: Line 17:
 port:: 22
== Requirements ==

* You need to be on WUR network, either by using WUR VPN or by using the workstations in Helix building.

* Unix terminal, for windows putty or '''mobaXterm''' can do the job

* An account on the server [[Request an account]]
Line 21: Line 28:
There is more than one way to make a connection, all Windows machines should have access to the program MobaXterm. If that is not the case for you please contact <<MailTo(servicedesk.it@wur.nl)>> Several software can be used to make a ssh connection, we recommend to use MobaXterm as it comes with a friendly user interface. Follow this link to download MobaXterm https://mobaxterm.mobatek.net/download-home-edition.html. For this tutorial we use the portable version.

{{attachment:mobaXterm-download.PNG}}

{{{
# Open MobaXterm
# Click on '''Start Local Terminal'''
}}}

{{attachment:mobaXterm-open.PNG}}

{{{
# When the terminal opens, '''take the time to read the prompted message'''
# Log in to potato with the following command, (replace <your_username> with your username)
ssh <your_username>@potato
}}}

{{attachment:mobaXterm-normal-login.PNG}}

We recommend setting up ssh keys for more security, this is how to do so, (this step is Optional)

{{{
# Run the following commands one by one and make sure no error message is prompted
# The next command makes a folder, where the key will be created feel free to adapt it
mkdir -p //WURNET.NL/Homes/homa001/AppData2/mobaxterm/ssh/

# The next command creates ssh key files in the designated path
# You will be asked to enter a passphrase which you will need everytime you log in using that key file.
# Be carefull as the passphrase does not replace your password
ssh-keygen -t rsa -b 4096 -f //WURNET.NL/Homes/homa001/AppData2/mobaxterm/ssh/potato.wur

# The next step is to copy the public file on the server so that it accepts your key, (replace <your_username> with your username)
ssh-copy-id -i //WURNET.NL/Homes/homa001/AppData2/mobaxterm/ssh/potato.wur <your_username>@potato
}}}

{{attachment:mobaXterm-keygen.PNG}}

Create a new session to avoid typing the ssh command everytime, here is how to do it.
{{{
# On the top menu, click on the button '''Session''' to open the session settings
# Then choose '''SSH'''
# In the '''Basic SSH settings''' tab fill
# Remote Host: potato
# Tick the box '''Specify Username''' and replace all the text in the text box with your username

# Optional but recommended
# Then click on '''Bookmark settings'''
# Tick the box '''Customize Tab Color''' and select a uniq color for that session
# Set a suitable session name

# If you are using a private key
# Then click on '''Advanced SSH settings'''
# Tick the box '''Use private key''' and specify the path to your private key (//WURNET.NL/Homes/homa001/AppData2/mobaxterm/ssh/potato.wur)
# Click '''OK''' to save the session and try loging in

# If you log in using a ssh key you should see a similar prompt to '''Passphrase for OPENSSH private key'''
# Otherwise use your password
}}}

{{attachment:mobaXterm-session-advanced.PNG}}

{{attachment:mobaXterm-session-bookmark.PNG}}

{{attachment:mobaXterm-login-sshkey.PNG}}
Line 25: Line 95:
Make sure you have access to a terminal and install the software XQuartz to be able to use graphical interface. Make sure you have access to a terminal and install the software XQuartz to be able to open graphical windows.
Line 28: Line 98:
=== LOG IN === === TO LOG IN ===
Line 32: Line 102:
Replace '''<your_username>''' with the username you received from the local admin. Replace '''<your_username>''' with the username you have chosen.
Line 47: Line 117:
=== LOG OUT === === To change your password ===

After loging in use the command ```passwd``` to change your password.

=== TO LOG OUT ===
Line 57: Line 131:
== Setting up SSH-KEY ==
Line 59: Line 132:
Coming soon == Quick links ==
Line 61: Line 134:
||<tablestyle="width: 99%;" style="border: none; font-weight: bold; font-size: 20px;"> <<[[storage description]] ||<style="text-align: center; width: 33%; border: none; font-weight: bold; font-size: 20px;"> ^[[#top]] ||<style="border: none; width: 33%; text-align: right; font-weight: bold; font-size: 20px;"> [[transfering data]]>> ||  1. [[Computers description]]
 2. [[Request an account]]
 3. [[storage description]]
 4. [[First login]]
 5. [[Receiving sequencing data]]
 6. [[transferring data]]
 7. [[Submitting jobs]]
 8. [[Monitor jobs]]
 9. [[Install tools]]
 10. [[Space management]]

[[#top]]

First login

New users, Welcome!!!

Now you have got an account on the MIB system, you should make sure that everything works fine for you.

In here you will find information about how to log into our servers from MIB and outside MIB (home,...)

How to log in to the MIB system

We use the SSH protocol to login to our machines systems, the authentication relies on a global MIB authentication server.

service/protocol
ssh
host name
potato.wurnet.nl

Requirements

* You need to be on WUR network, either by using WUR VPN or by using the workstations in Helix building.

* Unix terminal, for windows putty or mobaXterm can do the job

* An account on the server Request an account

Using Windows

Several software can be used to make a ssh connection, we recommend to use MobaXterm as it comes with a friendly user interface. Follow this link to download MobaXterm https://mobaxterm.mobatek.net/download-home-edition.html. For this tutorial we use the portable version.

mobaXterm-download.PNG

# Open MobaXterm
# Click on '''Start Local Terminal'''

mobaXterm-open.PNG

# When the terminal opens, '''take the time to read the prompted message'''
# Log in to potato with the following command, (replace <your_username> with your username)
ssh <your_username>@potato

mobaXterm-normal-login.PNG

We recommend setting up ssh keys for more security, this is how to do so, (this step is Optional)

# Run the following commands one by one and make sure no error message is prompted
# The next command makes a folder, where the key will be created feel free to adapt it
mkdir -p //WURNET.NL/Homes/homa001/AppData2/mobaxterm/ssh/

# The next command creates ssh key files in the designated path 
# You will be asked to enter a passphrase which you will need everytime you log in using that key file.
# Be carefull as the passphrase does not replace your password
ssh-keygen -t rsa -b 4096 -f //WURNET.NL/Homes/homa001/AppData2/mobaxterm/ssh/potato.wur

# The next step is to copy the public file on the server so that it accepts your key, (replace <your_username> with your username)
ssh-copy-id -i //WURNET.NL/Homes/homa001/AppData2/mobaxterm/ssh/potato.wur <your_username>@potato

mobaXterm-keygen.PNG

Create a new session to avoid typing the ssh command everytime, here is how to do it.

# On the top menu, click on the button '''Session''' to open the session settings
# Then choose '''SSH'''
# In the '''Basic SSH settings''' tab fill
# Remote Host: potato
# Tick the box '''Specify Username''' and replace all the text in the text box with your username

# Optional but recommended
# Then click on '''Bookmark settings'''
# Tick the box '''Customize Tab Color''' and select a uniq color for that session
# Set a suitable session name

# If you are using a private key
# Then click on '''Advanced SSH settings'''
# Tick the box '''Use private key''' and specify the path to your private key (//WURNET.NL/Homes/homa001/AppData2/mobaxterm/ssh/potato.wur)
# Click '''OK''' to save the session and try loging in

# If you log in using a ssh key you should see a similar prompt to '''Passphrase for OPENSSH private key'''
# Otherwise use your password

mobaXterm-session-advanced.PNG

mobaXterm-session-bookmark.PNG

mobaXterm-login-sshkey.PNG

Using Mac OS

Make sure you have access to a terminal and install the software XQuartz to be able to open graphical windows. You need to set up the VPN to able to login outside WUR environment.

TO LOG IN

Enter the following command in a terminal to start the login process.

Replace <your_username> with the username you have chosen.

ssh <your_username>@potato.wurnet.nl

OR to enable X server,

ssh -Y <your_username>@potato.wurnet.nl

When connecting to the system for the first time, SSH will ask you to confirm your wish to login to the machine. Enter yes. Then you will be asked for a password every time you log in. We recommend setting up a ssh key to secure your connection the server, see below.

To change your password

After loging in use the command passwd to change your password.

TO LOG OUT

Choose one of the following commands to log out.

exit
#OR
logout

  1. Computers description

  2. Request an account

  3. storage description

  4. First login

  5. Receiving sequencing data

  6. transferring data

  7. Submitting jobs

  8. Monitor jobs

  9. Install tools

  10. Space management

#top

First login (last edited 2023-04-25 11:33:25 by fhoma)