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*)?
Is there possibility to connect via SSH? Maybe you should consider "scp" utitlity. It's very simple, look to the manual page:
The very basic usage:
and vice versa:
To copy a non empty directory from the remote computer to your computer:
To copy a file just exclude the
To copy from your computer to the remote computer, just switch the location and destination in the previous example.
For more info do
Another way you can do: ( via pem file )
If you want to use
1. root user:
note the colon
if I can't logged in with
2. standard user:
suppose you are
this will put the file in home directory. then login to remote sever with standard user. and do
you'll switched to
I often encounter this problem, therefore sharing an alternative way to get the job done !