01-21-2014
Quote:
Originally Posted by
WIOP33
The thing that kind of confusing is, if I close Terminal window, the transfers will stop shortly thereafter. So what data is being passed to and from "computer1" to the remote servers?
When you close the terminal window, the remote end is told that you quit. It responds by killing all programs that were still running inside your terminal. It can easily tell what they are -- they will all have open file handles to the virtual terminal on the remote end.
That's why it stops when you close the terminal.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
Q. suppose operator is doing transmitting files (by using FTP)from one login to another in to one particuler directory.let filename is scfd_001.unl .when ever operator starts FTP this name will created in that particular directory.but problem is hoe to find scfd_001.unl file is already... (1 Reply)
Discussion started by: mallikarjuna
1 Replies
2. Shell Programming and Scripting
Hi All,
My requirement is to transfer a group of files from one server to another server and check the no. of files transmitted. If the no. of files exceeds 100 then i have to stop file transmission.
I'm using ftp and put command to transfer files.Please guide me to get the count and stop... (1 Reply)
Discussion started by: vimalr
1 Replies
3. Shell Programming and Scripting
My input file:
data_5 Ali 422 2.00E-45 102/253 140/253 24
data_3 Abu 202 60.00E-45 12/23 140/23 28
data_1 Ahmad 256 7.00E-45 120/235 140/235 22
data_4 Aman 365 8.00E-45 15/65 140/65 20
data_10 Jones 869 9.00E-45 65/253 140/253 18... (12 Replies)
Discussion started by: patrick87
12 Replies
4. Shell Programming and Scripting
Hi,
I want to do SSH on many different machines and then run some commands on them. A binary application randomly generates IP addresses and my script will take care of doing SSH.
$ ./IPGen.exe | ./myScript.sh
my script looks like this:
while read line; do
result1=$(ssh $line... (2 Replies)
Discussion started by: siavash
2 Replies
5. Shell Programming and Scripting
I have write a script which contains
ssh -p 12345 dcplatform@10.125.42.50
ssh 127.0.0.1 -p 5555 "$CMD"
ssh root@$GUEST_IP "$CMD"
before I use public key, it works well, now I want to change to "expect", BUT I don't want to change above code and "parameter position"
I can post a... (1 Reply)
Discussion started by: yanglei_fage
1 Replies
6. AIX
I desperately need help converting ascii data file generated on AIX platform that contains dollar sign ($) at the end of each line in the data file as shown below.
ME570^0128237^HG278999^20140805:21:00:00^BEENZ001^$
This is the AWK command for adding CR to the new line.
awk... (1 Reply)
Discussion started by: cumeh1624
1 Replies
7. Shell Programming and Scripting
Hello to all the experts around here.
I need to be able to create a script which will be copying all the data from each user account's jail home folder (SFTPWRITE) on one Centos 7 server to antother Centos 7 server. Both of the Centos servers are using Chroot jail where each account logs in to... (2 Replies)
Discussion started by: nreznik
2 Replies
8. UNIX for Beginners Questions & Answers
Hi,
I want to validate ssh connection one after one for multiple servers..... password less keys already setup but now i want to validate if ssh is working fine or not...
I have .sh script like below and i have servers.txt contains all the list of servers
#/bin/bash
for host in $(cat... (3 Replies)
Discussion started by: sreeram4
3 Replies
9. Shell Programming and Scripting
Hi,
I am trying to complete my bash script in order to find which SSH servers on LAN are still active with the ssh keys, but i am frozen at this step:
#!/bin/bash
# LAN SSH KEYS DISCOVERY SCRIPT
</etc/passwd \
grep /bin/bash |
cut -d: -f6 |
sudo xargs -i -- sh -c '
&& cat... (11 Replies)
Discussion started by: syrius
11 Replies