Thursday Apr 30, 2015

ssh into Azure

This is just a follow-up to my previous entry.

Solaris: ssh to cloud from corporate network (INOUE Katsumi @ Tokyo)

ssh -o ProxyCommand="/usr/lib/ssh/ssh-http-proxy-connect  -h webcache -p 8080 playtime.foo.com 22" playtime.foo.com

Your IaaS Oracle Linux instance may not have GUI on by default and it is the case in Azure.
And if you need to create a new database, like when you are using the instance below in Azure, you may want to run
dbca(Database Configuration Assistant).

In that case you can use "ssh -X" and port forwarding will be setup. You need to change port '22' to different one for
certain IaaS providers, like Azure.

Oracle Database 12.1.0.1 Enterprise Edition on Microsoft Azure Marketplace

next-generation database designed for the cloud. It offers more than 500 new features including a new multitenant architecture that simplifies consolidating databases

Friday Apr 24, 2015

Solaris: ssh to cloud from corporate network

When you are in the office and you want to ssh to IaaS cloud, you may use PuTTy or corkscrew.
When your Oracle Database is running on Solaris and you want to create database link to Oracle Database
on cloud to pull data or push data, there's a better way.  'ssh-http-proxy-connect' command on Solaris.

Synopsis - man pages section 1: User Commands

A proxy command for ssh(1) that uses HTTP CONNECT. Typical use is where connections external to a network are only allowed via a proxy web server.

The example below doesn't create set up any port-forwarding but you can create one to port 1521 in a usual way.

Synopsis - man pages section 1: User Commands

ssh -o ProxyCommand="/usr/lib/ssh/ssh-http-proxy-connect  -h webcache -p 8080 playtime.foo.com 22" playtime.foo.com

 

About

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Search

Categories
Archives
« May 2015
SunMonTueWedThuFriSat
     
2
3
5
8
9
10
12
13
14
16
17
23
24
25
26
27
28
29
30
31
      
Today