How To Create Ssh Trust Connection Between Servers Or Client-Server To Connect Without Password?

Posted by Jiltin     Tags: , , , , , 18 February, 2009    7,866 views    (0) Comment

SSH can give you authenticated and encrypted connections to remote computers. If you set up keys you can make these connections without passwords. 1. Generate a public and private key pair on the machine from where you want to login to other machines. For SSH1: # ssh-keygen -t rsa1 For SSH2 (Recommended): # ssh-keygen -t dsa You will be prompted for a file in which the key and a passphrase will be saved. You may press Enter through each of these prompts. If you do so, the key generation Read Full Article (Click here)...

Categories : Scripts Unix Tags : , , , , ,

Sample Unix/Linux sftp shell scripting to read and xml, find data file, and transfer to another server

Posted by Jiltin     Tags: , , , , 22 January, 2009    1,723 views    (0) Comment

The following linux bash script shows sample sftp shell script to read and xml, find data file, and transfer to another server. You must have set the ssh trust setup between the servers. By setting up the trust, you do not need to input a password. #!/bin/sh #************************************************************************************************** # # Script Name: sftpdata.sh # # Developed by Read Full Article (Click here)...

Categories : Scripts Unix Tags : , , , ,