SCP Push vs Pull



Can somebody explain to me what the real difference here is.


scp file.txt user@xxxxxxxxxxx:/home/user/.

and

scp user@xxxxxxxxxxx:/home/user/file.txt .

I realize that in the first instance I am moving the file from server
a to 10.10.10.10
and in the second I am pulling a file from 10.10.10.10 to server a.

The question I really have is this.

From a firewall stand point server a would always be the src and
10.10.10.10 would be the destination.


But what is happening from an application layer that makes these two
commands different.


( I am having an issue where example one fails EVERYTIME unless I use
the -l and slow it down to like 500kb but example two works EVERYTIME
with no -l being used)

I guess I just don't understand what the difference would be...


Yes I know it is in the riverbeds or firewalls or core switchs.....
and I am working with people to analyze that my question is how does
ssh work with these two examples.

J
.



Relevant Pages