05-30-2009
That i already checked but couldn't find anything useful.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All :),
I am making a script in the ksh to Secure FTP a set of files from the E:/ drive in windows a computer to a unix server.
Had it been in the unix directory, I could have used the expect utility to use the non-interactive mode for sftp,
#!/usr/local/bin/expect
#!/bin/ksh
... (12 Replies)
Discussion started by: pranavagarwal
12 Replies
2. Solaris
When I try
$sftp -v <username>@
Connecting to <ip>...
debug1: SSH args "ssh -oProtocol = 2 -s -oForwardAgent = no -oForwardX11 = no -l <username> -v <ip> sftp"
SSH Version Sun_SSH_1.0.1, protocol versions 1.5/2.0.
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts... (15 Replies)
Discussion started by: GIC1986
15 Replies
3. AIX
Hi,
Could you please help to solve the below issue...
my requirement is automate the SFTP between UNIX and Windows server.
I want to get and put some files to UNIX AIX machine(SFTP client) to Windows server(SFTP server).
For that, i have generated key pair (private/public) in my AIX machine .... (6 Replies)
Discussion started by: mahiban
6 Replies
4. Shell Programming and Scripting
Hi All,
I am trying to connect from Unix machine to Windows 2003 server using passphrase method. It is connecting to the server and the connection is immediately closing. Below is the stack trace. Can anyone let me know what wrong with it?
cwadmin@iut1wps1:/home/cwadmin> ssh username@targetip... (1 Reply)
Discussion started by: vijayin
1 Replies
5. Shell Programming and Scripting
Hi all
Not sure where I should be posting this so apologies if it's in the wrong section.
I'm trying to set up a system where we can copy a file (get) from a Windows server to a Unix server using SFTP in an automated way.
I've installed CoreFTP Server on the Windows server and can connect... (2 Replies)
Discussion started by: huskie69
2 Replies
6. UNIX for Dummies Questions & Answers
When I try to SFTP from our UNIX box to an outside vendor using passwords - no keys, I am immediately get disconnected.
We have the FIREWALL open because I get prompted for the password.
Here's the error:
sftp userid@sftp.test.com
Connecting to sftp.test.com...
userid@sftp.test.com's... (5 Replies)
Discussion started by: blt123
5 Replies
7. UNIX for Dummies Questions & Answers
Plz share how we can make a passwordless SSH connection from a SSH1 UNIX server to SSH2 UNIX server. (3 Replies)
Discussion started by: krishna87
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am not able to give the password in Unix script for SFTP connection.
When I am trying to manully SFTP command for accessing the server , it asking for pwd and I could provide the pwd but I am not getting how to provide the pwd inside the Unix script.
sftp -v user@xyz.com.
... (4 Replies)
Discussion started by: Vineeta Nigam
4 Replies
9. Shell Programming and Scripting
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies
10. Windows & DOS: Issues & Discussions
HI ,
I am trying to make a passwordless sftp connection from a unix server to windows server
I have used a existing script which is like this
cd /home150/adm/.ssh/
ssh-agent /usr/bin/ksh <<EOF
ssh-add IDBNEWKEY
ssh-add -l
sftp IDBUSER@abc.com
cd /home/IDBUSER/Share/IDB/
rm ${FILE}... (0 Replies)
Discussion started by: Jcpratap
0 Replies
LEARN ABOUT CENTOS
set_constraints
SET
CONSTRAINTS(7) PostgreSQL 9.2.7 Documentation SET CONSTRAINTS(7)
NAME
SET_CONSTRAINTS - set constraint check timing for the current transaction
SYNOPSIS
SET CONSTRAINTS { ALL | name [, ...] } { DEFERRED | IMMEDIATE }
DESCRIPTION
SET CONSTRAINTS sets the behavior of constraint checking within the current transaction. IMMEDIATE constraints are checked at the end of
each statement. DEFERRED constraints are not checked until transaction commit. Each constraint has its own IMMEDIATE or DEFERRED mode.
Upon creation, a constraint is given one of three characteristics: DEFERRABLE INITIALLY DEFERRED, DEFERRABLE INITIALLY IMMEDIATE, or NOT
DEFERRABLE. The third class is always IMMEDIATE and is not affected by the SET CONSTRAINTS command. The first two classes start every
transaction in the indicated mode, but their behavior can be changed within a transaction by SET CONSTRAINTS.
SET CONSTRAINTS with a list of constraint names changes the mode of just those constraints (which must all be deferrable). Each constraint
name can be schema-qualified. The current schema search path is used to find the first matching name if no schema name is specified. SET
CONSTRAINTS ALL changes the mode of all deferrable constraints.
When SET CONSTRAINTS changes the mode of a constraint from DEFERRED to IMMEDIATE, the new mode takes effect retroactively: any outstanding
data modifications that would have been checked at the end of the transaction are instead checked during the execution of the SET
CONSTRAINTS command. If any such constraint is violated, the SET CONSTRAINTS fails (and does not change the constraint mode). Thus, SET
CONSTRAINTS can be used to force checking of constraints to occur at a specific point in a transaction.
Currently, only UNIQUE, PRIMARY KEY, REFERENCES (foreign key), and EXCLUDE constraints are affected by this setting. NOT NULL and CHECK
constraints are always checked immediately when a row is inserted or modified (not at the end of the statement). Uniqueness and exclusion
constraints that have not been declared DEFERRABLE are also checked immediately.
The firing of triggers that are declared as "constraint triggers" is also controlled by this setting -- they fire at the same time that the
associated constraint should be checked.
NOTES
Because PostgreSQL does not require constraint names to be unique within a schema (but only per-table), it is possible that there is more
than one match for a specified constraint name. In this case SET CONSTRAINTS will act on all matches. For a non-schema-qualified name, once
a match or matches have been found in some schema in the search path, schemas appearing later in the path are not searched.
This command only alters the behavior of constraints within the current transaction. Thus, if you execute this command outside of a
transaction block (BEGIN/COMMIT pair), it will not appear to have any effect.
COMPATIBILITY
This command complies with the behavior defined in the SQL standard, except for the limitation that, in PostgreSQL, it does not apply to
NOT NULL and CHECK constraints. Also, PostgreSQL checks non-deferrable uniqueness constraints immediately, not at end of statement as the
standard would suggest.
PostgreSQL 9.2.7 2014-02-17 SET CONSTRAINTS(7)