Fibre Channel (SAN)

Reply
New Contributor
Posts: 2
Registered: ‎06-12-2015

configupload password prompt

I need a little help with a configupload script.

 

I am using the following:

 

configupload -sftp 1.2.3.4,backupuser,/backup/switch.txt

 

and it works as expected.  I have to manually enter the password at the "Password:" prompt.

 

If I use this:

 

configupload -sftp 1.2.3.4,backupuser,/backup/switch.txt,password

 

it still prompts for a password.  How can I include the password in the script to automate this?

 

Thanks in advance for assistance.

Frequent Contributor
Posts: 141
Registered: ‎05-26-2009

Re: configupload password prompt

According to the manual, this is only possible for FTP, not for SFTP.

configupload [-fid FID | -chassis | -all |  -switch][-p ftp | -ftp]["host","user","path" [,"passwd"]]
configupload [-fid FID | -chassis | -all | -switch][-p scp| -scp]["host","user","path"]
configupload [-fid FID | -chassis | -all | -switch][-p sftp | -sftp]["host","user","path"]

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

vADC is now Pulse Secure
Download FREE NVMe eBook