How to copy file from Ubuntu computer to remote box via SSH?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












How to copy files from Ubuntu computer to remote box via SSH using SecureCRT utility? So I'm connected to media box via SSH, then cd to target folder: next how to copy file from computer into the .config folder on media box?



# pwd
/storage
# cd .config


Tried command but not work:



scp /path/to/file/on/local/computer/file.conf root@192.168.1.45:file.conf


Computer and media box connected via router by wifi.



Edit: well, I used another way to upload file, VanDyke SecureFX tool, and it works fine:



SecureFX > File > Manual Upload > From:/To: > browse file > set transfer mode > OK









share|improve this question



















  • 2




    You will need to be more informative than "not work"
    – steeldriver
    Mar 10 at 15:55










  • Your description sounds as if you issue the scp command on the media box and not on your computer. Please tell where you issue the command and what error it outputs.
    – PerlDuck
    Mar 10 at 16:01











  • Yes, I issued scp command on media box, not on PC, that is my mistake.
    – triwo
    Mar 10 at 16:38















up vote
0
down vote

favorite












How to copy files from Ubuntu computer to remote box via SSH using SecureCRT utility? So I'm connected to media box via SSH, then cd to target folder: next how to copy file from computer into the .config folder on media box?



# pwd
/storage
# cd .config


Tried command but not work:



scp /path/to/file/on/local/computer/file.conf root@192.168.1.45:file.conf


Computer and media box connected via router by wifi.



Edit: well, I used another way to upload file, VanDyke SecureFX tool, and it works fine:



SecureFX > File > Manual Upload > From:/To: > browse file > set transfer mode > OK









share|improve this question



















  • 2




    You will need to be more informative than "not work"
    – steeldriver
    Mar 10 at 15:55










  • Your description sounds as if you issue the scp command on the media box and not on your computer. Please tell where you issue the command and what error it outputs.
    – PerlDuck
    Mar 10 at 16:01











  • Yes, I issued scp command on media box, not on PC, that is my mistake.
    – triwo
    Mar 10 at 16:38













up vote
0
down vote

favorite









up vote
0
down vote

favorite











How to copy files from Ubuntu computer to remote box via SSH using SecureCRT utility? So I'm connected to media box via SSH, then cd to target folder: next how to copy file from computer into the .config folder on media box?



# pwd
/storage
# cd .config


Tried command but not work:



scp /path/to/file/on/local/computer/file.conf root@192.168.1.45:file.conf


Computer and media box connected via router by wifi.



Edit: well, I used another way to upload file, VanDyke SecureFX tool, and it works fine:



SecureFX > File > Manual Upload > From:/To: > browse file > set transfer mode > OK









share|improve this question















How to copy files from Ubuntu computer to remote box via SSH using SecureCRT utility? So I'm connected to media box via SSH, then cd to target folder: next how to copy file from computer into the .config folder on media box?



# pwd
/storage
# cd .config


Tried command but not work:



scp /path/to/file/on/local/computer/file.conf root@192.168.1.45:file.conf


Computer and media box connected via router by wifi.



Edit: well, I used another way to upload file, VanDyke SecureFX tool, and it works fine:



SecureFX > File > Manual Upload > From:/To: > browse file > set transfer mode > OK






16.04 ssh transfer scp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 10 at 16:36

























asked Mar 10 at 15:20









triwo

239129




239129







  • 2




    You will need to be more informative than "not work"
    – steeldriver
    Mar 10 at 15:55










  • Your description sounds as if you issue the scp command on the media box and not on your computer. Please tell where you issue the command and what error it outputs.
    – PerlDuck
    Mar 10 at 16:01











  • Yes, I issued scp command on media box, not on PC, that is my mistake.
    – triwo
    Mar 10 at 16:38













  • 2




    You will need to be more informative than "not work"
    – steeldriver
    Mar 10 at 15:55










  • Your description sounds as if you issue the scp command on the media box and not on your computer. Please tell where you issue the command and what error it outputs.
    – PerlDuck
    Mar 10 at 16:01











  • Yes, I issued scp command on media box, not on PC, that is my mistake.
    – triwo
    Mar 10 at 16:38








2




2




You will need to be more informative than "not work"
– steeldriver
Mar 10 at 15:55




You will need to be more informative than "not work"
– steeldriver
Mar 10 at 15:55












Your description sounds as if you issue the scp command on the media box and not on your computer. Please tell where you issue the command and what error it outputs.
– PerlDuck
Mar 10 at 16:01





Your description sounds as if you issue the scp command on the media box and not on your computer. Please tell where you issue the command and what error it outputs.
– PerlDuck
Mar 10 at 16:01













Yes, I issued scp command on media box, not on PC, that is my mistake.
– triwo
Mar 10 at 16:38





Yes, I issued scp command on media box, not on PC, that is my mistake.
– triwo
Mar 10 at 16:38
















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1013691%2fhow-to-copy-file-from-ubuntu-computer-to-remote-box-via-ssh%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1013691%2fhow-to-copy-file-from-ubuntu-computer-to-remote-box-via-ssh%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491