![]() |
2010-03-01
, 16:25
|
|
Posts: 1,034 |
Thanked: 784 times |
Joined on Dec 2007
@ Annapolis, MD
|
#2
|
I'm asking your help for doing one thing with my n900 and my home server.
I thought of using scp, but as far as I know it means that from the server I should ssh back to the n900 like that: scp user@n900.ip.address:file/path/on/server file/path/on/n900 but it's not what I want, because I should know also the ip address of the n900.
![]() |
2010-03-01
, 16:32
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#3
|
I'm asking your help for doing one thing with my n900 and my home server.
I originate a ssh connection from my n900 to my home server, and execute on the server a terminal application. The application writes one file in a directory on the server.
I would like to be able to transfer that file from the server to my n900 on the same ssh session, i.e the one that is originated from the n900.
I thought of using scp, but as far as I know it means that from the server I should ssh back to the n900 like that: scp user@n900.ip.address:file/path/on/server file/path/on/n900
but it's not what I want, because I should know also the ip address of the n900.
Ideally, I would add the transfer command to my server application so that the file is automatically transferred to my n900 when the program quits.
Is it feasible? How can I do that? Thanks
![]() |
2010-03-01
, 17:01
|
Posts: 97 |
Thanked: 30 times |
Joined on Dec 2009
@ Russia, Moscow
|
#4
|
![]() |
2010-03-01
, 18:08
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#5
|
I originate a ssh connection from my n900 to my home server, and execute on the server a terminal application. The application writes one file in a directory on the server.
I would like to be able to transfer that file from the server to my n900 on the same ssh session, i.e the one that is originated from the n900.
I thought of using scp, but as far as I know it means that from the server I should ssh back to the n900 like that: scp user@n900.ip.address:file/path/on/server file/path/on/n900
but it's not what I want, because I should know also the ip address of the n900.
Ideally, I would add the transfer command to my server application so that the file is automatically transferred to my n900 when the program quits.
Is it feasible? How can I do that? Thanks
Ernesto de Bernardis