Suljettu

Show me how to pass a password to SCP in command prompt in Windows 10

I have the following line inside a batch file:

scp -r "T:\Main\[login to view URL]" user@[login to view URL]:

When run it I get a command window popup asking for my password. I want the batch file to pass the password into the command prompt without any human input when the batch file is run. The SCP is not WinSCP or Putty. It is Microsoft Windows 10 built-in OpenSSH Client.

Budget for this project $20

Taidot: Ohjelmointi, Windows Desktop, Koodaus, Linux, Microsoft

Näytä lisää: how to pass password in scp command in java, windows scp password, scp without password prompt, sshpass scp, scp command with password in unix, scp script without asking password, scp -o passwordauthentication, python scp with password, inventory info command prompt, command line windows inventory, upload sql database command prompt, livejasmin private show without password, myspace profile views command prompt script, use command prompt inventory hard drive, virtual basic command opening windows programs, command line windows audit inventory, audit installed programs command prompt, check external windows command prompt, show pdf file sql report net windows applications, command prompt drive different java

Tietoa työnantajasta:
( 14 arvostelua ) Brisbane, Australia

Projektin tunnus: #21321966

8 freelanceria on tarjonnut keskimäärin 90$ tähän työhön

kahlonkamal318

Hi I can help you in this task. I am a Sr. Linux Admin, Unix Admin, System Admin, Windows Admin, Storage Admin, Server Admin, Virtualization Expert having hands-on proven experience over the past 13 years on differen Lisää

$50 AUD 1 päivässä
(89 arvostelua)
5.6
android2014213

I am Redhat Certified Engineer. I have 8 years of experience as a Linux System Administrator. I posses good knowledge of mail server like zimbra, sendmail, web server like Apache, shell scripting, Virtualization like C Lisää

$50 AUD 2 päivässä
(10 arvostelua)
3.3
goodwork20k

I am good in windows and linux scripting, please let me know if you are good to award this project to me

$30 AUD 1 päivässä
(4 arvostelua)
2.4
PeterWa11ace

Hi, You cannot. You should exchange ssh keys to not use a password. Instead of this, you can make your script waiting until SCP will ask for a password and after that filling the password in an automated way. Ps: I Lisää

$30 AUD 1 päivässä
(2 arvostelua)
1.1
PageOllice

Hello, I am interested in your project and would like to invite you for further discussion. Waiting for your positive reply! Regards, Page M. O.

$250 AUD 7 päivässä
(0 arvostelua)
0.0
vnduylequang

I can help you with this issue, already struggled on this for days. You need some small tricks to work with OpenSSH. Please discuss more!

$30 AUD 1 päivässä
(0 arvostelua)
0.0
joseferreira77

I have ample network administration knowledge and expertice. over 20 years of this. enough experience to tell you that you don't pass password through without risking problems with security. for this purpose, we use ke Lisää

$250 AUD 7 päivässä
(0 arvostelua)
0.0
saulfm08

Let use key authentication Relevant Skills and Experience Ssh-keygen

$30 AUD 1 päivässä
(0 arvostelua)
0.0