Saturday, April 20, 2024
 Popular · Latest · Hot · Upcoming
103
rated 0 times [  103] [ 0]  / answers: 1 / hits: 366763  / 2 Years ago, tue, august 23, 2022, 4:07:59

I have Ubuntu 10.04 running through VMPlayer. And I have another machine (Asus RT-N16 router). I am able to connect to the router with telnet and see its file system.
How can I copy the file from the local machine (file is /home/user/helloworld-c) to the router (folder */tmp/mnt/discb_1*)?


More From » ssh

 Answers
2

Is there possibility to connect via SSH? Maybe you should consider "scp" utitlity. It's very simple, look to the manual page:



man scp


The very basic usage:



scp remote_user@remote_host:/path/to/remote/file /path/to/local/file


and vice versa:



scp /path/to/local/file remote_user@remote_host:/path/to/remote/file

[#43613] Wednesday, August 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ainbby

Total Points: 184
Total Questions: 115
Total Answers: 112

Location: Colombia
Member since Thu, Sep 29, 2022
2 Years ago
ainbby questions
Thu, Mar 23, 23, 10:26, 1 Year ago
Wed, May 10, 23, 00:10, 1 Year ago
Fri, Apr 15, 22, 10:11, 2 Years ago
;