TLS 1.2 - automatically accept

Advertisement

Rainer
Guest

TLS 1.2 - automatically accept

Hello,

is there any way to automatically accept certificate prompts from a script file ?? With FileZilla I'm prompted
for the certificate to accept.

I'm using the following script:

option batch on
option confirm off
open sftp://username:password@ftp.ce.collabserv.com/
put filename.csv /
ls
close
exit

Thanks a lot for any hint.
Rainer

Reply with quote

Advertisement

Rainer
Guest

Log

I'm getting the following log:

. 2017-12-04 12:59:45.275 --------------------------------------------------------------------------
. 2017-12-04 12:59:45.275 WinSCP Version 5.11.2 (Build 7781) (OS 6.1.7601 Service Pack 1 - Windows Server 2008 R2 Datacenter)
. 2017-12-04 12:59:45.275 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2\
. 2017-12-04 12:59:45.275 Log level: Normal, Rotating after: 1M, Keeping at most 1 logs
. 2017-12-04 12:59:45.275 Local account: EUROTOURS\administrator
. 2017-12-04 12:59:45.275 Working directory: E:\IBM\TDI\ST_CSV_Export
. 2017-12-04 12:59:45.275 Process ID: 556
. 2017-12-04 12:59:45.275 Command-line: E:\IBM\WinSCP\winscp.exe /script=E:\IBM\TDI\ST_CSV_Export\ScheduledUploadSTUsersParameters.txt /log=E:\IBM\TDI\ST_CSV_Export\ScheduledUpload_Log.log
. 2017-12-04 12:59:45.275 Time zone: Current: GMT+1, Standard: GMT+1 (Mitteleuropäische Zeit), DST: GMT+2 (Mitteleuropäische Sommerzeit), DST Start: 26.03.2017, DST End: 29.10.2017
. 2017-12-04 12:59:45.275 Login time: Montag, 04. Dezember 2017 12:59:45
. 2017-12-04 12:59:45.275 --------------------------------------------------------------------------
. 2017-12-04 12:59:45.275 Script: Retrospectively logging previous script records:
> 2017-12-04 12:59:45.275 Script: option batch on
< 2017-12-04 12:59:45.275 Script: batch on
> 2017-12-04 12:59:45.275 Script: option confirm off
< 2017-12-04 12:59:45.275 Script: confirm off
> 2017-12-04 12:59:45.275 Script: open sftp://username:***@ftp.ce.collabserv.com:990/
. 2017-12-04 12:59:45.275 --------------------------------------------------------------------------
. 2017-12-04 12:59:45.275 Session name: username@ftp.ce.collabserv.com (Ad-Hoc site)
. 2017-12-04 12:59:45.275 Host name: ftp.ce.collabserv.com (Port: 990)
. 2017-12-04 12:59:45.275 User name: username (Password: Yes, Key file: No, Passphrase: No)
. 2017-12-04 12:59:45.275 Tunnel: No
. 2017-12-04 12:59:45.275 Transfer Protocol: SFTP
. 2017-12-04 12:59:45.275 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2017-12-04 12:59:45.275 Disable Nagle: No
. 2017-12-04 12:59:45.275 Proxy: None
. 2017-12-04 12:59:45.275 Send buffer: 262144
. 2017-12-04 12:59:45.275 SSH protocol version: 2; Compression: No
. 2017-12-04 12:59:45.275 Bypass authentication: No
. 2017-12-04 12:59:45.275 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: Yes
. 2017-12-04 12:59:45.275 GSSAPI: Forwarding: No
. 2017-12-04 12:59:45.275 Ciphers: aes,chacha20,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2017-12-04 12:59:45.275 KEX: ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1
. 2017-12-04 12:59:45.275 SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
. 2017-12-04 12:59:45.275 Simple channel: Yes
. 2017-12-04 12:59:45.275 Return code variable: Autodetect; Lookup user groups: Auto
. 2017-12-04 12:59:45.275 Shell: default
. 2017-12-04 12:59:45.275 EOL: LF, UTF: Auto
. 2017-12-04 12:59:45.275 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes; Follow directory symlinks: No
. 2017-12-04 12:59:45.275 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2017-12-04 12:59:45.275 SFTP Bugs: Auto,Auto
. 2017-12-04 12:59:45.275 SFTP Server: default
. 2017-12-04 12:59:45.275 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2017-12-04 12:59:45.275 Cache directory changes: Yes, Permanent: Yes
. 2017-12-04 12:59:45.275 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2017-12-04 12:59:45.275 DST mode: Unix
. 2017-12-04 12:59:45.275 --------------------------------------------------------------------------
. 2017-12-04 12:59:45.275 Looking up host "ftp.ce.collabserv.com" for SSH connection
. 2017-12-04 12:59:45.275 Connecting to 159.8.231.205 port 990
. 2017-12-04 12:59:45.306 We claim version: SSH-2.0-WinSCP_release_5.11.2
. 2017-12-04 12:59:45.337 Network error: Software caused connection abort

Reply with quote

Advertisement

You can post new topics in this forum