Hi,
I have many scripts where i have used sftp for file transfer from unix box to unix box..
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.
Code:
sftp -v user@xyz.com.
This command is working but how to pass password for connecting the server via Unix bash script.
B
Important Unix Commands That You Should Know
By Bernard Peh
Unix is one of the most important operating system today. Its powerful features, scalability, strong security, and support for multiple users have made it the top choice operating systems for server, workstations and mainframes.
It is good to have some knowledge of Unix commands especially if your web host is Unix/Linux based.
Hai Friends,
Please help me in providing unix shell script for pulling data from mainframe dataset to unix using connect direct (NDM).
Thanks in advance
I have a requirement, where in we need to SFTP files from the Unix box to the Windows server.
Since we are putting files...Where would we place the public/private keys from the Unix servers??
Any default path as such???
How would the sftp happen from Unix to Windows...Please help...
Moderator's Comments:
Hi All,
Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older.
Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N' days older.
How to use SFTP to get the files on unix server from anoter unix server without sending the password.
This is below script wrote
------------------------------------
#!/bin/ksh
#!/usr/local/bin/expect
sftp -oPort=<PORt_number> <Ipaddress> <<EOF
expect "password:"
send <password>
cd /test/test1
mget *.csv
bye
EOF
---------------------------------------
after runni
Hi,
We are using CA7 scheduler to trigger the jobs in UNIX. To check the status, we are opening the mainframe window and checking the status of the jobs. Is it possible to check the status from UNIX, so that we can automate this manual monitoring process?
I never used CA7 or mainframes before.
Thanks
Ajay
Hi to all!
I'm new to unix and I looking for a solution for a shell I'm developing.
In this shell I have a list of filename (get from a database).
For each filename I must connect to another server via sftp connection in order to verify if there is a file with that filename.
After the filename, I must check also the modified date of the file on the remote server, to choose If get the file or