Sponsored Content
Special Forums Cybersecurity Best way to send files in this scenario. Post 302781237 by pinnacle on Friday 15th of March 2013 06:15:54 PM
Old 03-15-2013
Best way to send files in this scenario.

Hi,

What is the best way to SECURE transfer files from Server1 to server 2 without passowrd (automatically).

Note: We want the other Ids on the server 2 to be able to have write access on the files that are sent to server2 from server1.

SCP (password less) is working fine but not all IDs on server 2 can modify the files that are sent to server2.

Appreciate your help on this, we are trying to find least work option so that we don't have to involve unix team.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

file sending scenario

hi all i have a view in the database with columns prod_no,prod_nm, prod_code using a shell script i should query this view and dump the data in a delimited flat file and send to another ftp server.... i also have to schedule this periodically using cron tab. can you... (2 Replies)
Discussion started by: rajesh_tns
2 Replies

2. Shell Programming and Scripting

SFTP scenario

#!/usr/bin/ksh Archive_Dir='/apps/SrcFiles/MTCHG_GFTS/BRGR/Archive' Source_Dir='/apps/SrcFiles/MTCHG_GFTS/BRGR' cd $Source_Dir HOST='xyz.abc.com' USER='abcOUT' PSW='xyzOUT' file="Request*.pgp" for i in 1 2 3 4 5 6 do sftp $USER@$HOST <<END_SCRIPT $PSW bin if ] ; then ... (3 Replies)
Discussion started by: alfredo123
3 Replies

3. Shell Programming and Scripting

How to use IFS in this scenario?

Given the scenario like this, if at all if have to use IFS on the below given example, how it should be used. IFS=/ eg: /xyz/123/348/file1 I want to use the last slash /file1 . So can anyone, suggest me how to pick the last "/" as a IFS. (4 Replies)
Discussion started by: raghunsi
4 Replies

4. Shell Programming and Scripting

How to Script This Scenario

hi all, i have to schedule an email containing the information about some orphan connections existing on the server depending upon the system date. the format of the info to be sent in email is : Process id username servername time when connection... (0 Replies)
Discussion started by: Priyanka S
0 Replies

5. Shell Programming and Scripting

How to implement scenario?

hi, i am having three files which is having following data file1: field1 field2 field3 1 A B 2 C D 3 E F file2: 4 G H 1 I J 5 K L file3: 4 M N (3 Replies)
Discussion started by: angel12345
3 Replies

6. Shell Programming and Scripting

Challenging scenario

Hi, My input file contains 1,2 2,4 3,6 4,9 9,10 My expected output is 1,10 2,10 3,6 4,1 9,10 (6 Replies)
Discussion started by: pandeesh
6 Replies

7. Emergency UNIX and Linux Support

Help in below scenario

Hi, my file has the data like below: 11,231,ABCVAV 22,AAHJHAj22,hdsjkhdls 22,dhskjhdkshd 22,gdgkdkadh 11,232,dgsjgdjh 22,ghdskahdkja 22,shdkajshs 11,233,ddjs 22,dhjkahkd 22,hsajhaah 11,231,sjkjsjj 22,ahkh 22,hsakh From the above i need only the records which starts as 11,231... (5 Replies)
Discussion started by: pandeesh
5 Replies

8. Shell Programming and Scripting

Logic help with Scenario

Hello Folks I am looking for logic help for below scenerio with respect to AIX n unix script 1) We need to get the date of all the saturday in yr 2) L_o left over days is weeks left over days for previous month for eg. first sat of feb is 4th of feb in that week we have 29 - 30 - 31 from Jan... (2 Replies)
Discussion started by: joshiamit
2 Replies

9. Shell Programming and Scripting

FTP failure with different scenario

Hi Gurus the below FTP code works fine, but the issue is from past 1 week couldn't able to send the files to external system. #--------------------------------------------------------------------# #Start the ftp session #--------------------------------------------------------------------#... (3 Replies)
Discussion started by: SeenuGuddu
3 Replies

10. Cybersecurity

iptables in a NAT scenario

Hi, I am learning IPTables have this question. My server is behind a firewall that does a PAT & NAT to the LAN address. Internet IP: 68.1.1.23 Port: 10022 Server LAN IP: 10.1.1.23 port: 22 Allowed Internet IPs: 131.1.1.23, 132.1.1.23 I want to allow a set of IPs are to be able to... (1 Reply)
Discussion started by: capri_guy84
1 Replies
SENDFILE(1)						      General Commands Manual						       SENDFILE(1)

NAME
fetchfile - fetch file(s) via O-SAFT protocol SYNOPSIS
fetchfile [ -46lakdPriqQvVI ] [ -f user ] [ -s [user@]server ] [ -C[wr]=conffile ] filename fetchfile [ -lakdPriqQvVI ] [ -f user ] [ -s [user@]server ] [ -C[wr]=conffile ] -n filenumber DESCRIPTION
fetchfile fetches files from a SAFT server to the local user spool. In the SAFT server spool there must lay your sendfile public key to identify yourself. This key can be generated by the fetchfile -I com- mand and has to be transfered to the SAFT server at the very first time. This prevents other people to steal your files. You may list or fetch your files from the server. But remember, they are stored first in your local sendfile spool. You have to call receive to really receive them to your current directory. OPTIONS
-4, -6 Explicitly force IPv4 or IPv6 connections. By default, the program will try to resolve the name given, and choose the appropriate protocol automatically. If resolving a host name returns both IPv4 and IPv6 addresses, fetchfile will try to use the adresses in the order they are returned by the resolver. -l Only list the files on the server. -a Fetch all files. -k Keep files on server after fetching. -d Delete files without receiving. -n Specify the file number instead of the file name. -r Call receive automaticly afterwards. -f user Restrict file selection to this specifc user. -V Show version information and exit. -v Be verbose and show SAFT protocol messages. -P Send files to stdout directly. -i Ignore testing whether file has been already fetched. -q Quiet mode 1: print no transfer messages. -Q Quiet mode 2: print no transfer, information or warning messages. -I Initialize fetchfile and the pgp key pair. -s [user@]host Specify an alternate saft server and/or alternate user. -Cr=conffile Read configuration file "config" or "restrictions" from server. -Cw=conffile Write configuration file "config" or "restrictions" to server. ARGUMENTS
filename or filenumber Specify the name of the file or its number (with option -n). EXAMPLES
fetchfile -l fetchfile -a fetchfile -Cr=config -s saft.belwue.de FILES
/var/spool/sendfile/$USER/ Your local spool directory. $HOME/.sfspool/ Your local private spool directory if /var/spool/sendfile/$USER/ does not exist. config, restrictions Your configuration files for the server. See sendfile(1) for a description. SEE ALSO
receive(1), sendfile(1), fetchfile(7), sendfiled(8). AUTHOR
Ulli Horlacher - framstag@rus.uni-stuttgart.de 3rd Berkeley Distribution SENDFILE(1)
All times are GMT -4. The time now is 08:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy