hi,
that's good news although I am having issue with connection.
in SQLdev I have following settings:
SSH name: 'prd'
host: 'db_prod.domain'
port: '22'
username: 'userA'
Connection name: 'prd_userA'
username: 'userA' (user in SSH host and db
instance are the same)
password: 'pass'
connection_type: 'SSH'
port_forward: 'prd'
service_name: 'service.domain'
the connection in SQL developer works.
Now this is what I tried so far to manually create tunnel and use vim:
1. entry in tnsnames.ora
PRD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = service.domain)
)
)
$ ssh -N -L1522:service.domain:1521 userA@db_prod.domain
it asks for password and I think the connection is established
then I go to Vim with Vorax:
I create connection profile:
userA@PRD
(when connecting providing db password)
immediately I get:
ERROR:
ORA-12537: TNS:connection closed
And in terminal window with opened ssh connection:
channel 2: open failed: administratively prohibited: open failed
I am not sure if I missed something (ssh command?) or somehow it's
prohibited to connect like that?
Would you be able to help me please to try something more?
thanks,
Chris
Krzysztof Cierpisz
..........................
gg: 2349371 ..............
mobile:
(+49 160) 90891892
phone:
(+49 89) 97605686