Hi friend
I have a command: sftp -v dtxsttp90102@dtx.us.dell.com
I need to connect sftp server using above command and grep for some files
and need to back to script
can anyone tell me how to write script
connectingSFTP.sh
--------------------
sftpCmd=`sftp -v... (1 Reply)
Hi, When Iam trying to do SFTP it is asking for password everytime. Can I have any alternative where I can provide the password in script itself. Because there are some control-M jobs which runs without user interaction. So please let me know the script where we can provide the password in the... (2 Replies)
Dear All
I need to discuss about the problem which has been discussed so many times here. I need to transfer a file from server A to server B via passwordless SFTP script. By reading the threads on this topic here, I followed the below steps but still it's not working ..
Pls find the steps... (13 Replies)
Hi,
In our project we already have a passwordless sftp with -b (batchfile) option working but there have been some new application rolled out at the client site and they want us to raise the DEBUG option somebody suggested to use following options with sftp command
-oLogLevel=DEBUG... (4 Replies)
hi, i want to write a shell script code which transfers files from a directory in unix server to a directory in a windows machine.. can any1 give me a sample code which uses ftp or sftp command..
thanks very much, (3 Replies)
Hello Experts,
I am trying to setup passwordless sftp from one of linux box to solaris box.
I have generated key-pair and below is the permissions of the respective files.
drwx------. 2 sftpuser sftpuser 4096 Dec 17 23:57 .ssh
drwx------. 2 sftpuser sftpuser 4096 Dec 17 23:57 .... (16 Replies)
I am trying to connect to remote server in hp-ux, using sftp command (using sftp username@ip and password ) able to connect to remote server but, in this case sftp prompt for password and user need to manually enter it.
I want sftp can read a password define in script or from file, so it can... (1 Reply)
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)
Hi
I am trying to do SFTP in shell script in such a way that it should not ask for password.
for this is use below script but it prompt for password. here I am not abled to understand where I am making mistake.
#!/bin/bash
# SFTP TO remote server
USER="ITO"
PASSWORD="abcd@1234"... (4 Replies)
Greetings Experts,
I am working for a bank client and have a question on connect-direct and SFTP.
We are using Linux RedHat servers. We use connect-direct to transfer (NDM) files from one server to another server. At times, we manually transfer the files using SFTP from one server to another... (2 Replies)