User Tools

Site Tools


services:remote-access:ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
services:remote-access:ssh [2013/07/12 14:10] zedvservices:remote-access:ssh [2013/08/07 12:26] glaubitz
Line 1: Line 1:
-====== Connecting to a Linux computer using SSH (text mode interface) ======+====== Connecting to a Linux computer using SSH from a Windows computer (text mode interface) ======
  
-Many software applications on Linux are designed in a way that they can be used using a text mode interface only. This means, there is no graphical user interface which is operated with a mouse or a touchscreen but just a single command prompt which takes si+Open your web browser and navigate to the PuTTY client download website here: 
 + 
 +[[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html|PuTTY client download website]] 
 + 
 +Click on "putty.exe" to download the PuTTY client to your download folder. 
 + 
 +{{:services:remote-access:win_putty_step1.png|}} 
 + 
 +Open your download folder and double-click **putty.exe**: 
 + 
 +{{:services:remote-access:win_putty_step2.png|}} 
 + 
 +Windows will pop up the following dialog to ask you whether you trust the application you just downloaded from the PuTTY website, click **Run**: 
 + 
 +{{:services:remote-access:win_putty_step3.png|}} 
 + 
 +The main window of the PuTTY client will open and show a dialog to configure a new session upon first start:  
 + 
 +{{:services:remote-access:win_putty_step4.png|}} 
 + 
 +Use "Saved Sessions" to name this session for later reference, type the name of the computer you want to connect to into the field "Host Name (or IP address)" (login.physik.fu-berlin.de in this case), click **Save**: 
 + 
 +{{:services:remote-access:win_putty_step5.png|}} 
 + 
 +In the left hand side of the PuTTY window, click **Translation** below the item **Window** and make sure **Remote character set** is set to **UTF-8**, then click **Open** to make a connection: 
 + 
 +{{:services:remote-access:win_putty_step6.png|}} 
 + 
 +You will be asked whether you trust the remote host, click **Yes**. This dialog will be shown upon the first connection only: 
 + 
 +{{:services:remote-access:win_putty_step7.png|}} 
 + 
 +A terminal will open and ask for your username and password, your login should complete successfully: 
 + 
 +{{:services:remote-access:win_putty_step8.png|}} 
 + 
 +====== Connecting to a Linux computer using SSH from a Linux computer (text mode interface) ====== 
 + 
 +Many software applications on Linux are designed in a way that they can be used using a text mode interface only. This means, there is no graphical user interface which is operated with a mouse or a touchscreen but just a command prompt which takes single text commands which can be combined with options and parameters. 
 + 
 +To connect to a remote computer running Linux through SSH from a computer running Linux, first navigate through your //Applications// menu, find the //System Tools// submenu and click //Mate Terminal//.
  
 {{:services:remote-access:ssh_terminal_menu.png|}} {{:services:remote-access:ssh_terminal_menu.png|}}
Line 7: Line 47:
 The terminal window should open similar to the following picture. To establish an SSH connection to a remote Linux computer at the department, type: The terminal window should open similar to the following picture. To establish an SSH connection to a remote Linux computer at the department, type:
  
-ssh -x **username**@**computer**.physik.fu-berlin.de+ssh **username**@**computer**.physik.fu-berlin.de 
 + 
 +It is highly recommended to use the computer //login// since it is a machine guaranteed to be running 24/7 and has enough hardware ressources to be used by several users simualtanously for login. 
 + 
 +Thus: 
 + 
 +**ssh username@login.physik.fu-berlin.de** 
 + 
 +{{:services:remote-access:ssh_terminal_window2.png|}} 
 + 
 +The SSH command has some additional, useful options: 
 + 
 +  * -x - disable X forwarding 
 +  * -X - enable X forwarding (allows to run remote graphical applications); use together with -C 
 +  * -C - enable compression; use this when enabling X forwarding 
 + 
 +====== Connecting to a Linux computer using SSH from a Mac computer (text mode interface) ====== 
 + 
 +Any Mac computer running MacOS X brings everything you need to connect to a Linux computer using SSH. The //ssh// command is built in and can be run from the //Terminal// application. 
 + 
 +First, open **Finder** and navigate to your //Applications// folder, look for the sub-folder //Utilities// and open it by double-click: 
 + 
 +{{:services:remote-access:mac_ssh_terminal_1.png|}} 
 + 
 +In the folder //Utilities//, search for the //Terminal// application and double-click it: 
 + 
 +{{:services:remote-access:mac_ssh_terminal_2.png|}} 
 + 
 +This should open a terminal window. In the terminal window, type: 
 + 
 +ssh **username**@login.physik.fu-berlin.de, followed by pressing <ENTER> and your password and <ENTER>. If asked whether you want to trust the remote computer, type "yes" and press <ENTER>: 
 + 
 +{{:services:remote-access:mac_ssh_terminal_3.png|}}
  
-{{:services:remote-access:ssh_terminal_window.png|}}+You're now logged in to the primary login computer at the Physics department.

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki