SSH: What data is actually being transmitted?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers SSH: What data is actually being transmitted?
# 1  
Old 01-21-2014
SSH: What data is actually being transmitted?

Sorry, I couldn't think of how to word my question in the title field, let me try to explain:

If I am on "computer1" on a school network, and I ssh using Terminal to a remote server A, then I perform an rsync operation between server A and server B (home server), what data is being sent to my "computer1" (via terminal)?

The reason I ask is because I use the -P flag to monitor the progress of the transfer in my terminal window, so I see everything that's happening.
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?

Another way of framing the question would be, can my network admins (or others) see the amount of data that is being passed between Server A & B? Or do they just see that there is an SSH connection between my "computer1" and server A?

Let me know if you need more clarification to understand my question! Thanks
# 2  
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.
# 3  
Old 01-21-2014
Quote:
Originally Posted by WIOP33
Another way of framing the question would be, can my network admins (or others) see the amount of data that is being passed between Server A & B? Or do they just see that there is an SSH connection between my "computer1" and server A?
Yes, the network admins can see the amount of data (packets) that are flowing between Server A and Server B as a result of your connection.
# 4  
Old 01-22-2014
So here's a slightly different scenario:

1. If I am on "computer1" on a school network, and I ssh using Terminal to a remote server A,
2. I start a tmux session
3. then I begin an rsync operation between server A and server B (home server)
4. I close terminal on computer1

At this point, with terminal closed, the rsync is still going from A to B, but I am no longer part of that loop, correct? Unless of course I ssh in again and switch to the tmux session.


Thanks for the replies guys!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question