Sponsored Content
Top Forums UNIX for Dummies Questions & Answers SSH: What data is actually being transmitted? Post 302884752 by Corona688 on Tuesday 21st of January 2014 03:10:14 PM
Old 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

How To Find File Is Transmitting Or File Has Transmitted

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

Get the count of files transmitted

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

Extract data based on match against one column data from a long list data

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

Data pipe lost when using ssh in shell script

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

Ssh = ssh expect and keep everything not change include parameter postion

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

Adding CR to ascii data file generated on AIX platform and will be transmitted to Windows OS

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

Copy jailed data SSH Centos from one Linux server to another

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

Ssh script to validate ssh connection to multiple serves with status

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

Find active SSH servers w/ ssh keys on LAN

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
SSH-COPY-ID(1)						      General Commands Manual						    SSH-COPY-ID(1)

NAME
ssh-copy-id - install your public key in a remote machine's authorized_keys SYNOPSIS
ssh-copy-id [-i [identity_file]] [user@]machine DESCRIPTION
ssh-copy-id is a script that uses ssh to log into a remote machine and append the indicated identity file to that machine's ~/.ssh/autho- rized_keys file. If the -i option is given then the identity file (defaults to ~/.ssh/id_rsa.pub) is used, regardless of whether there are any keys in your ssh-agent. Otherwise, if this: ssh-add -L provides any output, it uses that in preference to the identity file. If the -i option is used, or the ssh-add produced no output, then it uses the contents of the identity file. Once it has one or more fin- gerprints (by whatever means) it uses ssh to append them to ~/.ssh/authorized_keys on the remote machine (creating the file, and directory, if necessary.) NOTES
This program does not modify the permissions of any pre-existing files or directories. Therefore, if the remote sshd has StrictModes set in its configuration, then the user's home, ~/.ssh folder, and ~/.ssh/authorized_keys file may need to have group writability disabled manu- ally, e.g. via chmod go-w ~ ~/.ssh ~/.ssh/authorized_keys on the remote machine. SEE ALSO
ssh(1), ssh-agent(1), sshd(8) OpenSSH 14 November 1999 SSH-COPY-ID(1)
All times are GMT -4. The time now is 11:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy