Sftp user interface to Scp
I have actually a linux based router that does not have the SFTP web server mounted. Extra especially, when I
sftp [email protected] I get a
sh: /user/libexec/sftp-server: not found mistake. My passion isn't attempting to settle this mistake by mounting a new plan (" distro" specifies to the router, and also I'm not curious about attempting to change it).
What I want is locating a command line energy that functions like sftp yet makes use of scp as the transfer device.
Perhaps I'm perplexed, yet what do you suggest by "sftp like user interface"? Simply get/put documents making use of scp from the command line.
To place documents foo, from the command line on your linux host thinking 'username' exists as a customer on the router :
$scp foo [email protected]:~
This will certainly replicate documents foo to the residence directory of username.
To get a documents from the router, thinking the documents remains in the residence directory of customer 'username' :
$scp [email protected]:~/foo .
This will certainly replicate documents foo from the router to whatever directory you're in when you execute the command.
I wish I recognized your inquiry appropriately.
All the best.