open sftp command reporting 'Too Many Parameters'
Hi Gurus,
Having difficulty with a script I have wrote and when I type the open sftp line into the WinSCP command prompt, it says "too many parameters". But if I try the same connection and take out the
Having difficulty with a script I have wrote and when I type the open sftp line into the WinSCP command prompt, it says "too many parameters". But if I try the same connection and take out the
-hostkey
section it connects, but prompts me to accept connection so cannot be automated, can someone let me know what I am doing wrong, my open line is:
open sftp://user:password@server/ -hostkey="ssh-rsa ab:cd:ef:ab:cd:ef............"