• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 589
  • Last Modified:

Linux, scp, sshpass, and ssh-keygen

Apparently scp can work with ssh-keygen

Is there any way that scp can work with sshpass ?

Thanks
0
Los Angeles1
Asked:
Los Angeles1
2 Solutions
 
woolmilkporcCommented:
scp should work with sshpass just as ssh does, no difference.

sshpass -p 'xxxx' scp ... ... ...
0
 
omarfaridCommented:
try something like

sshpass -p 'mypass' scp myfile username@myhost:/mydir
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now