...
MAC OS X ("Mountain" Lion 10.8 or Higher)
...
Configure SSH Access:
Terminal Method:
...
Please follow these instructions to configure Mac OS X to work properly with UCONN's SSH requirements.
Acquire Kerberos Ticket:
Getting a Kerberos Ticket using Ticket Viewer app
Ticket Viewer is a Kerberos GUI application included in OS X. It can be found under /System/Library/CoreServices and a shortcut can be created to it (desktop or taskbar)
Once ticket viewer is open, choose Add Identity and enter your <netid>@UCONN.EDU and then your password to save the "ticket" into ticket viewer. Tickets can then be created/destroyed using the "arrow" and "X" icons under the identity name.
Getting a Kerberos Ticket through the Terminal
Terminal is the basic command line application that comes with OS X. To create a Kerberos ticket using Terminal open a session.
- Enter the command kinit <netid>@UCONN.EDU
- Enter your password when prompted
- Enter the command klist to verify your ticket was created successfully, similar to the below screen
Creating the Database Tunnel
- Get a kerberos ticket by either using the terminal or the ticket the terminal or the ticket viewer GUI
- If you want to connect to pre-production databases (DEV, TST, SUP) type:
- ssh -fNL 1521:dbserver02.uits.uconn.edu:1521 <yournetid>@gateway1521 <yournetid>@gateway.uits.uconn.edu
- or if you want to connect to production databases (PRD, UAT) type:
- ssh -fNL 1521:dbserver01.uits.uconn.edu:1521 <yournetid>@gateway1521 <yournetid>@gateway.uits.uconn.edu
Enable kerberos ssh
...
- Open terminal:
- Either:
- sudo vi /etc/ssh_config
or - sudo nano /etc/ssh_config
- sudo vi /etc/ssh_config
- make the line that looks like this:
- # GSSAPIAuthentication no
looks like this: - GSSAPIAuthentication yes
- # GSSAPIAuthentication no
- then save the file.
Getting a Kerberos Ticket through the ticket viewer
...
- open the ticket viewer gui:
- it may be located in
- /System/Library/CoreServices
or - Applications/Utilities/
- /System/Library/CoreServices
- it may be located in
- click the 'Add Identity' button
- In the menue that appears fill out:
- Identity: <your netid>@UCONN.EDU
- Password: <your netid password>
Getting a Kerberos Ticket through the terminal
...
- kinit <your netid>@UCONN.EDU
...
Windows
...
Network Identity Manager / Putty Method:
...