Connect to Remote DB2 ,using URL ,username,Password


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Connect to Remote DB2 ,using URL ,username,Password
# 1  
Old 10-10-2013
Question Connect to Remote DB2 ,using URL ,username,Password

Hi All,

I am new to Shell scripting,
I want to connect to DB2 database through URL,username and password
Please help me out.

I read so many posts in that there is no where it is mentioned about how to connect to a remote database.

Thanks in advance Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Connect to remote server using sftp with password define within command/script

I am trying to connect to remote server in hp-ux, using sftp command (using sftp username@ip and password ) able to connect to remote server but, in this case sftp prompt for password and user need to manually enter it. I want sftp can read a password define in script or from file, so it can... (1 Reply)
Discussion started by: ketanraut
1 Replies

2. UNIX for Dummies Questions & Answers

How to connect to DB2 using UNIX

I am new to Putty, Unix and DB2 and this is what I am working on right now. I installed Putty I got access to username / pwd I got Unix usrname/Pwd.also got the home directory once I login into putty I get the screen and it shows $ sign From here how do I connect to DB2 database? I have... (2 Replies)
Discussion started by: JayDoshi
2 Replies

3. UNIX for Dummies Questions & Answers

Launch a URL,validate username and password using wget or curl

Hi All, I want to launch "ex: http://gmail.com" from the cmd window and validate the credentials with username and password, is it possible? I have found something like this "wget --http-user=USER' --http-password=PASSWORD http://gmail.com" am new to this and unable to find a solution, i... (0 Replies)
Discussion started by: harsha85
0 Replies

4. AIX

AIX Remote Connect Fail With “No more multiple IP addresses to connect” Error

We have a production server at a client site running AIX. And recently when users are trying to connect to it via telnet, it prompts "No more multiple IP addresses to connect". Can I know what does this error mean? and how to rectify this? Thanks. (2 Replies)
Discussion started by: a_sim
2 Replies

5. Shell Programming and Scripting

DB2 Connect issue

Hi i m trying to connect DB2 via unix. it is successfully connect. but the connect is getting disconnect . below is the query , countvalue=$(db2 "connect to <Database> user <username> using <Password>" | db2 -x 'select count(*) from <tablename>' ); echo $countvalue while... (2 Replies)
Discussion started by: baskivs
2 Replies

6. Shell Programming and Scripting

DB2 Connect Encrypt Password

Hi All, If someone can help me with password encryption. We have shell scripts that connect to a database using db2 connect and we have the password hardcoded in the script. Can someone let me know if there's a way to encrypt this password? I've seen alot of users suggest we create an... (3 Replies)
Discussion started by: rethymno19
3 Replies

7. Shell Programming and Scripting

Connect db2 using db2 connect

I want to connect to DB2 database which is mainframes using a unix script and run query and get the result set into the unix box. Is this acheivable using db2 connect? pls help me with a sample script which can perform the same. (1 Reply)
Discussion started by: midhun19
1 Replies

8. Shell Programming and Scripting

[SSH] Need to connect to remote server as different user and without password

I have a task requiring that USER_A run a script, which connects to HOST_B as USER_B and does not ask for a password. If I am logged in on HOST_A as USER_B, I can connect to HOST_B without a password, no problem. However, if I try running ssh with the command line "ssh USER_B@HOST_B" while... (3 Replies)
Discussion started by: Totengraber
3 Replies

9. Shell Programming and Scripting

connect to remote server by applying password

Hi , I am new to shell script. I have to write a shell script which will login to remote server then check for the space there. There 50 remote ervers all are having different password. Could you please suggest me some way. I am working on solaris box. Thanks in advance (2 Replies)
Discussion started by: vikash_k
2 Replies

10. UNIX for Dummies Questions & Answers

Remote Copy without entering Username and Password

I tried the following script to copy one file automatically: #!/bin/csh -f su - root -c "rcp 150.10.128.1:/export/home/sn408Xl/sn408Sol/$fn $fn This works fine but is there a better way to copy remotely without entering the username and password? Moreover, after the file is copied a... (1 Reply)
Discussion started by: ilak1008
1 Replies
Login or Register to Ask a Question
FUSEDAV(1)						      General Commands Manual							FUSEDAV(1)

NAME
fusedav - mount WebDAV shares SYNOPSIS
fusedav [-hDL] [-t secs] [-u username] [-p password] [-o options] URL mountpoint DESCRIPTION
fusedav is a userspace filesystem driver that allows you to mount WebDAV shares. This way you can transparently edit and manage files on a remote server. As long as the fusedav process is running, the WebDAV share located at URL is accessible under mountpoint. If username and password are required and you did not specify them on the command line you will be prompted as soon as you are trying to access the mounted share. OPTIONS
-h Show summary of options. -D Enable debug mode. -L Lock the repository during mount. (Not properly supported on all servers, hence not enabled by default.) -t secs Set lock timeout to secs seconds. -u username Use username for authentication if required. -p password Use password for authentication if required. -o options Pass options as additional mount options to FUSE. URL Location of the WebDAV share. mountpoint Local mountpoint of the WebDAV share. AUTHOR
fusedav was written by Lennart Poettering <mzshfrqni (at) 0pointer (dot) de>. This manual page was written by Sebastian Harl <tokkee@debian.org>, for the Debian project (but may be used by others). August 24, 2006 FUSEDAV(1)