services:remote-access:ssh
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
services:remote-access:ssh [2013/07/12 14:30] – zedv | services:remote-access:ssh [2013/08/07 12:23] – 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 |
- | 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 | + | Open your web browser and navigate to the PuTTY client download website here: |
+ | |||
+ | [[http:// | ||
+ | |||
+ | Click on " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Open your download folder and double-click **putty.exe**: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Windows will pop up the following dialog to ask you whether you trust the application you just downloaded from the PuTTY website, click **Run**: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The main window of the PuTTY client will open and show a dialog to configure a new session upon first start: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Use "Saved Sessions" | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 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 **Session** in the left hand side of the PuTTY window to return to the previous view. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Back in the **Session** dialog, now click **OK**: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | You will be asked whether you trust the remote host, click **Yes**. This dialog will be shown upon the first connection only: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ====== 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 // | ||
{{: | {{: | ||
Line 9: | Line 49: | ||
ssh **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** | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The SSH command has some additional, useful options: | ||
+ | |||
+ | * -x - disable X forwarding | ||
+ | * -X - enable X forwarding (allows to run remote graphical applications); | ||
+ | * -C - enable compression; | ||
+ | |||
+ | ====== 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 // | ||
+ | |||
+ | First, open **Finder** and navigate to your // | ||
+ | |||
+ | {{: | ||
+ | |||
+ | In the folder // | ||
+ | |||
+ | {{: | ||
+ | |||
+ | This should open a terminal window. In the terminal window, type: | ||
+ | |||
+ | ssh **username**@login.physik.fu-berlin.de, | ||
+ | |||
+ | {{: | ||
+ | You're now logged in to the primary login computer at the Physics department. |