[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Issues SSHing into my app from a remote host

Hi all.

I have a two node system set up. It's an all in one broker / node called "kc-broker.dsx.org" and a node called "kc-node.dsx.org"
If I go directly on my broker machine, I can actually ssh into my app without any problem.

However, I've set up a linux VM with rhc tools to connect to my broker. 
Doing "rhc apps" performs correctly with the following output: 

[root local ~]# rhc apps
dsxdb @ http://dsxdb-dsx.dsx.org/ (uuid: 528bd5488000fde67900008b)
  Domain:     dsx
  Created:    Nov 19  9:16 PM
  Gears:      1 (defaults to medium)
  Git URL:    ssh://528bd5488000fde67900008b dsxdb-dsx dsx org/~/git/dsxdb.git/
  SSH:        528bd5488000fde67900008b dsxdb-dsx dsx org
  Deployment: auto (on git push)

  diy-0.1 (Do-It-Yourself 0.1)
    Gears: Located with rc-cassandra-1.2.5

  rc-cassandra-1.2.5 (Cassandra Database 1.2.5)
    From:  https://raw.github.com/rajatchopra/openshift-origin-cartridge-cassandra/master/metadata/manifest.yml
    Gears: Located with diy-0.1

You have 1 applications

So I try to ssh:

ssh –vvv 528bd5488000fde67900008b dsxdb-dsx dsx org

This is the output: 

[root local ~]# ssh -vvv 528bd5488000fde67900008b dsxdb-dsx dsx org
OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to dsxdb-dsx.dsx.org [] port 22.

Which I can tell you that is NOT the right IP address. So I did a dig: 

[root local ~]# dig dsxdb-dsx.dsx.org

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.6 <<>> dsxdb-dsx.dsx.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47466
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;dsxdb-dsx.dsx.org. IN A

dsxdb-dsx.dsx.org. 300 IN CNAME dsx.org.
dsx.org. 300 IN A

;; Query time: 18 msec
;; WHEN: Thu Nov 21 17:51:15 2013
;; MSG SIZE  rcvd: 65

Anyone experienced this problem? I am at a loss on getting this to communicate with the bind server on Broker.

Thanks and BR


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]