The UNIX and Linux Forums  
Hello and Welcome from to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how do I make my workstation an installation server for a remote server?. calsum SUN Solaris 3 04-18-2008 04:54 PM
code to FTP the spool file from Sqlplus to the unix server. vprevin Shell Programming and Scripting 0 10-31-2007 02:48 AM
Transfer file from local unix server to remote server indira Shell Programming and Scripting 2 05-03-2007 07:35 AM
Transfer file from local unix server to remote server indira HP-UX 2 05-02-2007 06:15 PM
FTP multiple files from remote server to local server berlin_germany Shell Programming and Scripting 2 12-20-2006 03:24 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-07-2006
chittari chittari is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 10
SQLPLUS from a remote server

Hi,
I am trying to connect to Oracle server (installed in HP UNIX) from some other HP UNIX server using sqlplus

Can you somebody advice me method to connect to Database without user ID and password field or atleast password field from Remote Server

Regards,
Giri
  #2 (permalink)  
Old 08-07-2006
Funky_ass Funky_ass is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 11
It is easy to connect to another UNIX server via ssh and then run and use sqlplus.

Tilen
  #3 (permalink)  
Old 08-07-2006
chittari chittari is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 10
I did not understand you, please explain it further
  #4 (permalink)  
Old 08-07-2006
Funky_ass Funky_ass is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 11
Let's say, you have 2 unix servers. The 1st one has installed the Oracle database and you wish to connect to this one to use sqlplus on it but from the 2nd server. On the 1st server you shall install the open-ssh utility and run the sshd service, and install the open-ssh utility on the 2nd server too. Then lets login into the 2nd server. Via ssh connect to the 1st server (ssh <user>@<1st_server_name>), type the password in and voila... you're connected to the 2nd server. Then just run the sqlplus application and start to work.

Does mybe that solve your problem?

Tilen
  #5 (permalink)  
Old 08-08-2006
chittari chittari is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 10
Thanks for the reply.

My requirement is, I want to use SQLPLUS in a batch job and usage and password is not allowed as per copmany's security polocy

So, I am checknig out for alternatives in connecting to Database with "sqlplus /" sort of option without Security viloation
  #6 (permalink)  
Old 08-08-2006
Funky_ass Funky_ass is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 11
Oh. Erm ... with the ssh-utility you can also execute a command on the remote machine without need of entering a password. That's verry useful for scripts.

For example: ssh <user>@<address> "<anny command>"

I think, you can run and use sqlplus from a script, on a remote machine. But this utility is for UNIX environment so if you want to test this logic on windows, I recommend you to install the Cygwin environment.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:52 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0