User Tools

Site Tools


not_course_2016:connecting

Connecting to the container

You can use x2go (preferred), ssh or RDP to connect the container. RDP is a backup in case of e.g. keyboard problems.

Connecting with SSH

You may connect to the container using an SSH connection instead of using x2go. In this case the command is

 ssh -Y USER@tube.utu.fi
 

on Linux.

Possible but not probable SSH key problem

If you get an error message like this:

 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
 Someone could be eavesdropping on you right now (man-in-the-middle attack)!
 It is also possible that a host key has just been changed.
 The fingerprint for the ECDSA key sent by the remote host is
 c4:98:bb:5e:73:fa:e7:0c:94:2c:5b:7c:33:e6:ea:7c.
 Please contact your system administrator.
 Add correct host key in /home/juanauh/.ssh/known_hosts to get rid of this message.
 Offending ECDSA key in /home/juanauh/.ssh/known_hosts:26
   remove with: ssh-keygen -f "/home/juanauh/.ssh/known_hosts" -R tube.utu.fi
 ECDSA host key for tube.utu.fi has changed and you have requested strict checking.
 Host key verification failed.

Then do what it says :-)! As an example:

 ssh-keygen -f "/home/juanauh/.ssh/known_hosts" -R tube.utu.fi

Of course you have to use the command line that is in the actual error message.

Working with X2GO

Transfer the ssh key for passwordless login

If you don't want to type password every time, you can use a public key for authentication. This is not obligatory.

Linux

 ssh-keygen -t rsa
 ssh-copy-id studentxx@tube.utu.fi
 

Windows

Connect to the container with x2go

Start x2go client,

Add a connection from the x2go client toolbar:

Set up a new connection, note the login and session (LXDE) fields:

If you have managed to transfer a key, check the 'Try auto-login' box.

Then, click on the session on the right if needed, and connect:

and you should get a desktop:

Keyboard layouts

X2go should detect and use the keyboard layout that is used in the client computer (i.e. it should 'just work'). If your layout is totally messed up (that has happened with some Macs), try RDP connection. The downside is that the layout with RDP connection is US/English and it cannot be changed.

Suspending the x2go session

If you want to e.g. to turn off your computer and save the current session, instead of logout, you can suspend it. Click the 'pause' button in the control window:

Setting up software

Note: you have to do the following every time you open up a new window!

In your current terminal, type scisoft to activate the software.

For backup also another system is available. In that case type iraf27

Enjoy!

not_course_2016/connecting.txt · Last modified: 2018/05/14 08:17 by kjwiik