Sponsored Content
Top Forums Shell Programming and Scripting KSH fetching files from server A onto server B and putting on server C Post 302715257 by jim mcnamara on Sunday 14th of October 2012 08:33:03 AM
Old 10-14-2012
You need to have ssh-keys for passwordless ssh (scp, sftp, ssh).

ssh-keygen: password-less SSH login

Basically what you do is:
create ssh-keys on server A, on server B, and on server C.
then put keys on whatever node you want to connect to.

So If I want to connect FROM A to C, I first have to put my "A" keys over on "C".
keys live in authorized_keys in a special directory under your login directory:
Code:
mkdir /home/brownbob/.ssh
chmod 600  /home/brownbob/.ssh

Your home directory cannot be other writable - has to be 755 or 750.
This User Gave Thanks to jim mcnamara For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP multiple files from remote server to local server

Hi, I am facing a weired problem in my FTP script. I want to transfer multiple files from remote server to local server everyday, using mget * in my script. I also, want to send an email for successful or failed FTP. My script works for file transfer, but it don't send any mail. There is... (2 Replies)
Discussion started by: berlin_germany
2 Replies

2. Shell Programming and Scripting

FTPing files from unix server to windows server

Hi, Below is the script which ftps the file from unix server and putting in a different directory(but on unix server) How can i ftp the files from unix server and to place in a secure location on windows server? what changes needs to be done to the below script? How can this be... (1 Reply)
Discussion started by: venkatesht
1 Replies

3. Shell Programming and Scripting

script for to take files from FTP server to UNIX server and Unzipped that files

script for to take files from FTP server to UNIX server and Unzipped that files (1 Reply)
Discussion started by: sunilamarnadh
1 Replies

4. Shell Programming and Scripting

Copy folder and files from unix server to linux server

We would be migrating unix solaries to Linux redhat. Basically source is unix and target is linux. i would like to copy entire file system unix/source/* to target linux/souce/* but target linux has only folder setup so what ever files copied need to be placed in the linux server with same... (8 Replies)
Discussion started by: balajikalai
8 Replies

5. Shell Programming and Scripting

Copy files from Linux server to Windows server

Hi All, I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers. So i am looking for a script to transfer the file automatically from Linux server to Windows server? Please advise. Thanks... (3 Replies)
Discussion started by: arunmanas
3 Replies

6. UNIX for Dummies Questions & Answers

Transfer file from server B to server C and running the script on server A

I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A. Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server). We dont have RSA key... (4 Replies)
Discussion started by: kiran_j
4 Replies

7. Solaris

Script to get files from remote server to local server through sftp without prompting for password

Hi, I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script. Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies

8. Solaris

FTP-ing files from Windows server to UNIX server

I need to transfer files from a Windows server to the Unix server and have to run some shell script on it to get the required output. Is it possible to transfer files from Windows server to unix server through any shell script? If so can you please help me with the details. Thanks in... (8 Replies)
Discussion started by: ssk250
8 Replies

9. Shell Programming and Scripting

Copying the files to Windows server from UNIX server

Hi Team, I had a requirement to write a shell script which automatically transfer the files from unix server to windows server. I can able to unix to unix using Scp command. I am not sure how to do unix to windows. I am very new on this concept. Could you please help me or guide in... (4 Replies)
Discussion started by: gvkumar25
4 Replies

10. Shell Programming and Scripting

Do I require remote login access to a windows server to transfer files from a UNIX server

Hi All I need to transfer a file from a UNIX server to a windows server. I saw that it is possible to do this using scp command by looking at the forum listed below: ... (2 Replies)
Discussion started by: vx04
2 Replies
AuServer(3)						     Library Functions Manual						       AuServer(3)

Name
       AuServer - AuServer structure

Structures
       #include <audio/audiolib.h>

       typedef struct _AuServer
       {
	   . . .
       }AuServer;

MACROS
Do not dereference the members of the AuServer structure directly. Instead use the access macros. server is a pointer to a AuServer structure. AuServerConnectionNumber(server) Accesses the int connection number. AuServerQLength(server) Accesses the int value with the length of the input queue. AuServerVendor(server) Accesses the NUL-terminated string giving the identification of the audio server vendor. AuServerProtocolMajorVersion(server) Accesses the int value of the major protocol revision number of the audio server. AuServerProtocolMinorVersion(server) Accesses the int value of the minor protocol revision number of the audio server. AuServerVendorRelease(server) Accesses the int value with the release number of the audio server. AuServerString(server) Accesses the NUL-terminated string giving the server name. AuServerNextRequest(server) Accesses the AuUint32 serial ID of the next protocol request to be sent. AuServerLastKnownRequestProcessed(server) Accesses the AuUint32 serial ID of the last known protocol request sent. AuServerResourceBase(server) Accesses the AuID base used in constructing resource ID's. AuServerResourceMask(server) Accesses the AuID mask used in constructing resource ID's. AuServerMinSampleRate(server) Accesses the int value with the minimum sample rate supported by the server. AuServerMaxSampleRate(server) Accesses the int value with the maximum sample rate supported by the server. AuServerMaxTracks(server) Accesses the int value indicating the maximum number of tracks supported by the server. AuServerNumFormats(server) Accesses the int value indicating the number of formats supported by the server. AuServerNumElementTypes(server) Accesses the int value indicating the number of element types supported by the server. AuServerNumWaveForms(server) Accesses the int value indicating the number of waveform generators supported by the server. AuServerNumActions(server) Accesses the int value indicating the number of actions supported by the server. AuServerNumDevices(server) Accesses the int value indicating the number of server devices. AuServerNumBuckets(server) Accesses the int value indicating the number of server buckets. AuServerFormat(server, n) Accesses the int value of the n'th format supported by the server. AuServerElementType(server, n) Accesses the int value of the n'th element supported by the server. AuServerWaveForm(server, n) Accesses the int value of the n'th waveform supported by the server. AuServerAction(server, n) Accesses the int value of the n'th action supported by the server. AuServerDevice(server, n) Accesses the AuDeviceAttributes structure of the n'th server device. AuServerBucket(server, n) Accesses the AuBucketAttributes structure of the n'th server bucket. AuClientOfID(server, resource) Extracts the ClientID from resource. AuID AuAllocID(server) Invokes the ID allocator function. Description The AuServer structure describes the connection to the audio server. See Also AuCloseServer. audiolib - Network Audio System C Language Interface audiolib - 1.9.3 AuServer(3)
All times are GMT -4. The time now is 03:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy