Size: 2068
Comment:
|
Size: 4763
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 wur and outside wur (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-login-sshkey.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-login-sshkey.PNG}} {{attachment:mobaXterm}} |
Line 25: | Line 93: |
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 30: | Line 98: |
In a terminal type the following command to start the login process. | Enter the following command in a terminal to start the login process. |
Line 32: | Line 100: |
Replace '''<your_username>''' with the username you received from the local admin. | Replace '''<your_username>''' with the username you have chosen. |
Line 44: | Line 112: |
When connecting to the system for the first time, SSH will ask you to confirm that you want to login to the machine say yes. Then you will be asked for a password every time you log in. | 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. |
Line 49: | Line 117: |
Choose one of the following commands to log out, | Choose one of the following commands to log out. |
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.
# Open MobaXterm # Click on '''Start Local Terminal'''
# 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
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
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
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.
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.
LOG OUT
Choose one of the following commands to log out.
exit #OR logout
Setting up SSH-KEY
Coming soon