9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 Replies
2. Shell Programming and Scripting
Hello, this is a VI question more than anything...
I'm using: SunOS 5.10 Generic_150400-04 sun4v sparc SUNW,T5240
I'm trying to find a problematic line(s) in a script.
The only solution I can think of is to tag each repetative line, and increment it.
This is an oracle insert script.
... (14 Replies)
Discussion started by: graphi
14 Replies
3. UNIX for Dummies Questions & Answers
Hi everyone,
Something rather interesting just happened to me. I uploaded a file to a server through sftp. I closed the connection and then logged on to the server via ssh. So far so good.
When I typed ls -l in the remote server to retrieve a directory listing, the file that was previously... (2 Replies)
Discussion started by: gacanepa
2 Replies
4. Shell Programming and Scripting
Hi,
While running my ksh file, I require the logs to be written to another file. For this I use the below code:
write_log()
{
echo `date +"%d %h, %Y %H:%M:%S"` " : " $* >> ${LOG_FILE}
}
But inside my ksh file, am connecting to sftp server and executing some commands.
So while i see... (8 Replies)
Discussion started by: confused_info
8 Replies
5. Shell Programming and Scripting
Hi,
I'm new to sh scripting and have the following problem. I have a script to sftp that is now working with ssh key. But i need to change this, i wan't to sftp with a password. I have the following script, tried a lot to make a variabel for the password. But i can't make it work
... (2 Replies)
Discussion started by: kvhindex
2 Replies
6. Shell Programming and Scripting
Hello All,
I am stuck!
I have access to an external server via SFTP. In order to access the external server I was given a specific port, password, and a ppk.
I would to create a script on my server end that can I can setup as a corn job, that will connect to the external server and... (1 Reply)
Discussion started by: kingr008
1 Replies
7. Shell Programming and Scripting
I am trying to send a file from my 9000 box to a vendor using sftp and I am getting this error: Couldn't close file: Failure
Here are the results of my automated script:
Connected to yyy.com.
sftp> pwd
Remote working directory: /
sftp> cd xxxxx/yyyyy_TEST/TEST
sftp> put FILE FILETEST... (1 Reply)
Discussion started by: nickg
1 Replies
8. Shell Programming and Scripting
Hi,
I looked into lot of posts on this question but i could not figure out the solution. we are using the following ftp shell program to send the file to target server.
#!/usr/bin/ksh
ftp -n -i<<EOF 2>&1
open <target server ip>
user <username> <pwd>
lcd /sc/doc/prd/FCSTP
put file1.txt... (3 Replies)
Discussion started by: srrao.ch
3 Replies
9. Solaris
Hi All,
How do you get around SFTP not having the 'cat' command to set up scripts to run cron jobs for passwords?
I am use to the FTP allowing that, but we are converting to SFTP and need to be able to still run the same scripts in off hrs. Is there a way to still cat the password at the prompt... (14 Replies)
Discussion started by: wsiefkas
14 Replies