How to gain direct access to SQL Server at Garching via SSH



Similar documents
Crystal Reports Installation Guide

NetSupport DNA Configuration of Microsoft SQL Server Express

for Networks Installation Guide for the application on the server August 2014 (GUIDE 2) Lucid Exact Version 1.7-N and later

for Networks Installation Guide for the application on the server July 2014 (GUIDE 2) Lucid Rapid Version 6.05-N and later

Installing SQL Express. For CribMaster 9.2 and Later

Querying Databases Using the DB Query and JDBC Query Nodes

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

Connecting to SQL server

These notes are for upgrading the Linko Version 9.3 MS Access database to a SQL Express 2008 R2, 64 bit installations:

Immotec Systems, Inc. SQL Server 2005 Installation Document

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

for Networks Installation Guide for the application on a server September 2015 (GUIDE 2) Memory Booster version 1.3-N and later

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

freesshd SFTP Server on Windows

Migrating helpdesk to a new server

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

MS SQL Server Database Management

How to Connect to CDL SQL Server Database via Internet

Configuring Global Protect SSL VPN with a user-defined port

The purpose of this document is to describe how to connect Crystal Reports with BMC Remedy AR System using ODBC.

CIMHT_006 How to Configure the Database Logger Proficy HMI/SCADA CIMPLICITY

Mozilla Thunderbird: Setup & Configuration Learning Guide

Server Installation, Administration and Integration Guide

Setup Guide. network support pc repairs web design graphic design Internet services spam filtering hosting sales programming

IMF Tune Quarantine & Reporting Running SQL behind a Firewall. WinDeveloper Software Ltd.

SSH Secure Client (Telnet & SFTP) Installing & Using SSH Secure Shell for Windows Operation Systems

Setup and configuration for Intelicode. SQL Server Express

Upgrading from MSDE to SQL Server 2005 Express Edition with Advanced Services SP2

NetSupport DNA Configuration of Microsoft SQL Server Express

F-SECURE MESSAGING SECURITY GATEWAY

Outlook Express. Make Changes in Red: Open up Outlook Express. From the Menu Bar. Tools to Accounts - Click on Mail Tab.

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

StoreGrid Backup Server With MySQL As Backend Database:

1. Open Thunderbird. If the Import Wizard window opens, select Don t import anything and click Next and go to step 3.

Installation Guide. Tech Excel January 2009

Training module 2 Installing VMware View

Accessing the FTP Server - User Manual

Important. Please read this User s Manual carefully to familiarize yourself with safe and effective usage.

Connecting to Manage Your MS SQL Database

Schools Remote Access Server

Outlook 2010 Setup Guide (POP3)

Customer Tips. Configuring Color Access on the WorkCentre 7328/7335/7345 using Windows Active Directory. for the user. Overview

TECHNICAL TRAINING LAB INSTRUCTIONS

Setting up an MS SQL Server for IGSS

VoIPon Tel: +44 (0) Fax: +44 (0)

FILE TRANSFER PROTOCOL ( FTP ) SYSTEM USER MANUAL

Installing LearningBay Enterprise Part 2

Aradial Installation Guide

EventSentry Overview. Part I Introduction 1 Part II Setting up SQL 2008 R2 Express 2. Part III Setting up IIS 9. Part IV Installing EventSentry 11

National Fire Incident Reporting System (NFIRS 5.0) Configuration Tool User's Guide

Alert Notification of Critical Results (ANCR) Public Domain Deployment Instructions

SysPatrol - Server Security Monitor

Jolly Server Getting Started Guide

Installation / Backup \ Restore of a Coffalyser.Net server database using SQL management studio

Using Remote Web Workplace Version 1.01

Installing Kaspersky Security Center 10.0 on Microsoft Windows Server 2012 Core Mode

Upgrading from Call Center Reporting to Reporting for Contact Center. BCM Contact Center

Linking Access to SQL Server

Stealth OpenVPN and SSH Tunneling Over HTTPS

Installation Instruction STATISTICA Enterprise Server

CHARTER BUSINESS custom hosting faqs 2010 INTERNET. Q. How do I access my ? Q. How do I change or reset a password for an account?

Outlook Express. Make Changes in Red: Open up Outlook Express. From the Menu Bar. Tools to Accounts - Click on. User Information

RBackup Server Installation and Setup Instructions and Worksheet. Read and comply with Installation Prerequisites (In this document)

Manage a Firewall Using your Plesk Control Panel Contents

Open Thunderbird. To set up an account in Thunderbird, from the Tools menu select Account Settings; choose account; then click Next.

Define ODBC Database Library using Management Console

Using SQL-server as database engine

WS_FTP Pro for Windows 95/98/NT

How To Set Up Ops Cser.Com (Pros) For A Pc Or Mac) With A Microsoft Powerbook (Proos) (Prosecco) (Powerbook) (Pros) And Powerbook.Com/

Quick Start Guide. Cerberus FTP is distributed in Canada through C&C Software. Visit us today at

Install MS SQL Server 2012 Express Edition

Installation Instruction STATISTICA Enterprise Small Business

Configuring Color Access on the WorkCentre 7120 Using Microsoft Active Directory Customer Tip

1. CONFIGURING REMOTE ACCESS TO SQL SERVER EXPRESS

Outlook Express. Make Changes in Red: Open up Outlook Express. From the Menu Bar. Tools to Accounts - Click on Mail Tab.

Elluminate Live! Access Guide. Page 1 of 7

Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication

NSi Mobile Installation Guide. Version 6.2

BlackBerry Enterprise Service 10. Version: Configuration Guide

How to Move an SAP BusinessObjects BI Platform System Database and Audit Database

Update Instructions

FUSION Installation Guide

How to install and set up the WinSCP software for Secure File Transfer

Tibbr Installation Addendum for Amazon Web Services

Microsoft Outlook 2010

Versions Addressed: Microsoft Office Outlook 2010/2013. Document Updated: Copyright 2014 Smarsh, Inc. All right reserved

Connecting LISTSERV to an Existing Database Management System (DBMS)

SOFTWARE INSTALLATION INSTRUCTIONS CLIENT/SERVER EDITION AND WEB COMPONENT VERSION 10

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

National Fire Incident Reporting System (NFIRS 5.0) NFIRS Data Entry/Validation Tool Users Guide

F-Secure Messaging Security Gateway. Deployment Guide

RSA SecurID Token User Guide February 12, 2015

SafeWord Domain Login Agent Step-by-Step Guide

Web Application Firewall

Windows Live Mail Setup Guide

Database Assistant. Once Database Assistant is installed you must login to gain access to the database. Copyright 2009

Instructions. Introduction

Using TLS Encryption with Microsoft Outlook 2007

2.3 - Installing the moveon management module - SQL version

Transcription:

How to gain direct access to SQL Server at Garching via SSH 1) Who and what is required 2) Getting through the Firewall 3) Setting up the ssh client 4) Register SQL server locally 4.1) If you have SQL Server Enterprise Manager installed 4.2) If you only have the sql server 7 ODBC driver and use another database manager program 1) Who and what is required This document is written for the persons who need to be able to place data on the sql server efdasql.ipp.mpg.de at Garching. Members of the ITPA working groups can also be granted permission to retrieve data directly from this server. All others will have to use the web-based interface to retrieve data from the sql server. Each of the persons that have been granted direct access to the sql server has been issued a personal userid (xxxxx in the following) and 2 personal passwords, a firewall ( PWf ) and a sql server (PWsql) password. This userid will allow a tunnel via ssh2 to be set up from the users computer to the server on which the sql server is running, ie. for the user it will look as if the sql server is local to his/her computer. The personal userid and the PWsql password has been given specific rights on the sql server that depend on the user. The user needs to have the following: a) Preferably a Windows computer b) Web browser c) SSH client that supports the ssh2 protocol d) SQL Server Enterprise Manager or/and ODBC manager with sql server odbc driver plus a db manager (eg. MS Access) Contact Knud Thomsen, Knud.Thomsen@efda.org, to obtain a personal userid and passwords.

2) Getting through the Firewall First of all make sure that you have permission to set up a SSH connection to the server efdasql.ipp.mpg.de server in Garching and that you are allowed to authenticate yourself on the web page https://194.59.170.1:950/ On this web page you type in your personal userid xxxxx and press Submit The Firewall in Garching will respond with Here you give your PWf password and press submit

The Firewall responds with Press Submit once more and the response is Your Computer is now authenticated on the Firewall and you are allowed to communicate with Efdasql.ipp.mpg.de via SSH.

3) Setting up the ssh client This example shows how to set up the SSH Secure Shell client, other ssh clients will need the same input. a. Create a new Profile (here named efdasql - arbitrary) b. Under Connection: Enter Host Name (efdasql.ipp.mpg.de) Enter User Name (sshuser ), password to be obtained from DB-manager Port Number (22) Authentication (Password) It may be possible further settings on this page have to be specified - if that is necessary please contact your Network support.

Now switch to the X11 tunneling settings Check the box to enable secure X11 tunneling Then click the Outgoing Tunneling page and create a new Outgoing Tunnel with these settings: Type (TCP), Listen Port (5100), Destination Host (localhost) and Destination Port (1433) Notice that port 5100 may already be in use on your computer. If this is so then use the next free port 5101 or higher.

This how it looks when the Outgoing Tunnel has been created You are now ready to connect with your new profile. When you try to connect the response will be You type in the password for sshuser and the efdasql.ipp.mpg.de will respond with this message

You have now established a tunnel through which you can communicate with the sql server efdasql.ipp.mpg.de. The name of the sql server is now localhost on your own computer. In order to use this connection you need to register the sql server localhost on your own computer. This is the subject of the next section. Notice if the above window is closed the tunnel is terminated so remember to keep it running while you are working with the sql server. However, it would also be good practice to close it when the sql server is not being used!!!

4) Register SQL server locally 4.1) If you have SQL Server Enterprise Manager installed In the same program group where the Enterprise Manager has been installed you will also find the Client Network Utility ( default Programs/Microsoft SQL Server 7.0/ ). Pressing Add and entering the info shown below have created the highlighted line. Clicking OK and a sql server alias localhost has been created on your computer.

Now you are ready to start up the Enterprise Manager. On the Console Root click on Action and choose New SQL Server Registration to get this screen Click Next to get the screen below where you select LOCALHOST and click Add

On the resulting screen you press Next You now choose The SQL Server Login option and click Next

You now enter your personal userid and PWsql password and click next Click Next once more on the next screen

You are now ready to click Finish You have now registered the SQL server efdasql.ipp.mpg.de as localhost on your own computer and should see this screen. Double click on LOCALHOST

The Server responds with this message and you click Yes You should now see LOCALHOST show up with a green arrow indicating you are connected

You should now be able to see all the databases on the server and can carry out the transactions you wish to perform.

4.2) If you only have the sql server 7 ODBC driver and use another database manager program By setting up an ODBC Data Source you will also be registering the SQL Server. Start up the ODBC Data Source Administrator by double clicking on Data Sources Select System DSN and click Add

Select SQL Server driver and click Finish Enter localhost as the SQL Server, the other entries are up to you, click Next

Choose SQL Server authentication and type in your personal userid and password. Click the Client Configuration button. Fill in the following screen (with the correct port number) as shown and press OK

You can now specify the default database you want to connect to, here Pedestal. Click Next And press Finish

You can now click the Test Data Source button If you get the message below click OK and you have created a System DSN that you can use in eg. MS ACCESS to retrieve or upload data with to the SQL Server.