1-DAV-202 Data Management 2023/24
Previously 2-INF-185 Data Source Integration
Difference between revisions of "Connecting to server"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | This page describes how to connect to our sever from a Windows computer. | ||
+ | |||
== Connection through ssh == | == Connection through ssh == | ||
− | You can use ssh client available in Windows 10. On command line use: | + | You can use ssh client available in Windows 10. On the command line use: |
ssh <username>@vyuka.compbio.fmph.uniba.sk | ssh <username>@vyuka.compbio.fmph.uniba.sk | ||
+ | |||
+ | This will allow text-only connection and should be sufficient for most of the course. | ||
+ | |||
+ | See also more detailed instructions here [https://support.cci.drexel.edu/cci-virtual-lab-resources/scp-or-ssh-or-sftp-gui-or-cli/scp-windows-10-powershell-cli-command-line-interface/] | ||
However, if you want more configurable client with a capability of tunneling application GUIs, you can install [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html putty client] instead. | However, if you want more configurable client with a capability of tunneling application GUIs, you can install [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html putty client] instead. | ||
− | |||
== Installation of X server == | == Installation of X server == | ||
Line 23: | Line 28: | ||
* Most work in the course will be done on command line | * Most work in the course will be done on command line | ||
* You will however need a text-only editor: | * You will however need a text-only editor: | ||
− | ** Simple editor is [https://nano-editor.org/ nano] (see keyboard shortcuts | + | ** Simple editor is [https://nano-editor.org/ nano] (see keyboard shortcuts at the bottom of the screen) |
** More advanced are [https://www.vim.org/ vim], [https://www.gnu.org/software/emacs/ emacs], [https://ne.di.unimi.it/ ne] (read tutorials before starting using them) | ** More advanced are [https://www.vim.org/ vim], [https://www.gnu.org/software/emacs/ emacs], [https://ne.di.unimi.it/ ne] (read tutorials before starting using them) | ||
== Copying files to/from the server== | == Copying files to/from the server== | ||
* You can copy files using scp command on the command line | * You can copy files using scp command on the command line | ||
− | * Alternatively use [https://winscp.net/eng/downloads.php WinSCP program] | + | * Alternatively use the graphical [https://winscp.net/eng/downloads.php WinSCP program] |
Revision as of 21:31, 10 February 2023
This page describes how to connect to our sever from a Windows computer.
Contents
Connection through ssh
You can use ssh client available in Windows 10. On the command line use:
ssh <username>@vyuka.compbio.fmph.uniba.sk
This will allow text-only connection and should be sufficient for most of the course.
See also more detailed instructions here [1]
However, if you want more configurable client with a capability of tunneling application GUIs, you can install putty client instead.
Installation of X server
To use applications with GUIs, you need to tunnel X-server commands from the server to your local machine (this is accomplished by your ssh client), and you need a program that can interpret these commands on you local machine (this is called X server).
- Install X server, such as xming
- Make sure that X server is running (you should have "X" icon in your app control bar)
- Run putty, connect using ssh connection type and in your settings choose Connection->SSH->X11 and check "Enable X11 forwarding" box
- Login to the vyuka.compbio.fmph.uniba.sk server
- echo $DISPLAY command should show a non-empty string (i.e. localhost:11.0)
- Try running xeyes &
If you cannot run graphical applications
- Most work in the course will be done on command line
- You will however need a text-only editor:
Copying files to/from the server
- You can copy files using scp command on the command line
- Alternatively use the graphical WinSCP program