Topic "-rawsettings for simple@putty and winadj@putty"

Author Message
knockando
[View user's profile]

Joined: 2010-11-04
Posts: 14
Transfers are successful but we're getting some errors in our firewall log we'd like to stop. I've sent -rawsettings via the .NET assembly for SshSimple=0 to stop an error we're getting in our firewall logs dealing with simple@putty.projects.tartarus.org. Now I'm getting errors relating to winadj@putty.projects.tartarus.org.

Is there a similar -rawsetting to stop the winadj@putty.projects.tartarus.org error/message?

Thanks!
Advertisements
knockando
[View user's profile]

Joined: 2010-11-04
Posts: 14
I need to add a little more which I apologize if it should be a different thread. When I set sessionOptions.AddRawSettings("SshSimple","0") it appears WinSCP is prompting for the password which was already sent. Not sure what to do in the .NET assembly.

Without the raw setting the transfer works, with it I get the following error:

Authentication log (see session log for details):
Using username xxxxxx.

Authentication failed.

LOG FILE:
. 2014-03-06 11:22:53.168 --------------------------------------------------------------------------
. 2014-03-06 11:22:53.168 WinSCP Version 5.2.5 (Build 3686) (OS 6.1.7601 Service Pack 1 - Windows 7 Enterprise)
. 2014-03-06 11:22:53.168 Configuration: nul
. 2014-03-06 11:22:53.169 Local account: xxxxx
. 2014-03-06 11:22:53.169 Working directory: C:\Program Files (x86)\WinSCP
. 2014-03-06 11:22:53.169 Process ID: 9548
. 2014-03-06 11:22:53.169 Command-line: "C:\Program Files (x86)\WinSCP\winscp.exe" /xmllog="C:\Users\xxxxx\AppData\Local\Temp\wscp1608.03F9F2B8.tmp" /xmlgroups /nointeractiveinput /dotnet=525 /ini=nul /log="C:\apps\WinSCP_Session.log" /console /consoleinstance=_5640_47674696_156
. 2014-03-06 11:22:53.169 Time zone: Current: GMT-6, Standard: GMT-6, DST: GMT-5, DST Start: 3/9/2014, DST End: 11/2/2014
. 2014-03-06 11:22:53.169 Login time: Thursday, March 06, 2014 11:22:53 AM
. 2014-03-06 11:22:53.169 --------------------------------------------------------------------------
. 2014-03-06 11:22:53.169 Script: Retrospectivelly logging previous script records:
> 2014-03-06 11:22:53.169 Script: option batch on
< 2014-03-06 11:22:53.169 Script: batch on
> 2014-03-06 11:22:53.169 Script: option confirm off
< 2014-03-06 11:22:53.169 Script: confirm off
> 2014-03-06 11:22:53.169 Script: open -hostkey="ssh-rsa 2048 [key here]" -timeout=1296000 sftp://[username]:***@[server ip] -rawsettings SshSimple="0"
. 2014-03-06 11:22:53.169 --------------------------------------------------------------------------
. 2014-03-06 11:22:53.169 Session name: [user]@[server] (Ad-Hoc site)
. 2014-03-06 11:22:53.169 Host name: [server] (Port: 22)
. 2014-03-06 11:22:53.169 User name: [user](Password: No, Key file: No)
. 2014-03-06 11:22:53.169 Tunnel: No
. 2014-03-06 11:22:53.169 Transfer Protocol: SFTP
. 2014-03-06 11:22:53.169 Ping type: -, Ping interval: 30 sec; Timeout: 1296000 sec
. 2014-03-06 11:22:53.169 Proxy: none
. 2014-03-06 11:22:53.169 Send buffer: 262144
. 2014-03-06 11:22:53.169 SSH protocol version: 2; Compression: No
. 2014-03-06 11:22:53.169 Bypass authentication: No
. 2014-03-06 11:22:53.169 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2014-03-06 11:22:53.169 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2014-03-06 11:22:53.169 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2014-03-06 11:22:53.169 Simple channel: No
. 2014-03-06 11:22:53.169 Return code variable: Autodetect; Lookup user groups: A
. 2014-03-06 11:22:53.169 Shell: default
. 2014-03-06 11:22:53.169 EOL: 0, UTF: 2
. 2014-03-06 11:22:53.169 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2014-03-06 11:22:53.169 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2014-03-06 11:22:53.169 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2014-03-06 11:22:53.169 Cache directory changes: Yes, Permanent: Yes
. 2014-03-06 11:22:53.169 DST mode: 1; Timezone offset: 0h 0m
. 2014-03-06 11:22:53.169 --------------------------------------------------------------------------
. 2014-03-06 11:22:53.170 Looking up host "[server]"
. 2014-03-06 11:22:53.170 Connecting to [server] port 22
. 2014-03-06 11:22:53.180 Server version: SSH-2.0-OpenSSH_4.6
. 2014-03-06 11:22:53.180 Using SSH protocol version 2
. 2014-03-06 11:22:53.180 We claim version: SSH-2.0-WinSCP_release_5.2.5
. 2014-03-06 11:22:53.186 Doing Diffie-Hellman group exchange
. 2014-03-06 11:22:53.295 Doing Diffie-Hellman key exchange with hash SHA-256
. 2014-03-06 11:22:54.417 Verifying host key rsa2
with fingerprint ssh-rsa 2048 [key here]
. 2014-03-06 11:22:54.417 Host key matches configured key
. 2014-03-06 11:22:54.418 Host key fingerprint is:
. 2014-03-06 11:22:54.418 ssh-rsa 2048 [key here]
. 2014-03-06 11:22:54.418 Initialised AES-256 SDCTR client->server encryption
. 2014-03-06 11:22:54.418 Initialised HMAC-SHA1 client->server MAC algorithm
. 2014-03-06 11:22:54.418 Initialised AES-256 SDCTR server->client encryption
. 2014-03-06 11:22:54.418 Initialised HMAC-SHA1 server->client MAC algorithm
! 2014-03-06 11:22:54.526 Using username "[user]".
. 2014-03-06 11:23:09.550 Prompt (7, SSH password, , &Password: )
. 2014-03-06 11:23:09.550 Disconnected: Unable to authenticate
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
knockando wrote:
Transfers are successful but we're getting some errors in our firewall log we'd like to stop. I've sent -rawsettings via the .NET assembly for SshSimple=0 to stop an error we're getting in our firewall logs dealing with simple@putty.projects.tartarus.org. Now I'm getting errors relating to winadj@putty.projects.tartarus.org.

Is there a similar -rawsetting to stop the winadj@putty.projects.tartarus.org error/message?

This request has been added to the tracker:
http://winscp.net/tracker/show_bug.cgi?id=1139

I have sent you an email with a development version of WinSCP to address you have used to register on this forum.

Settings is BugWinAdj=2.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
knockando wrote:
I need to add a little more which I apologize if it should be a different thread. When I set sessionOptions.AddRawSettings("SshSimple","0") it appears WinSCP is prompting for the password which was already sent. Not sure what to do in the .NET assembly.

This is known bug:
http://winscp.net/tracker/show_bug.cgi?id=1083
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License