SSH Tab (Login Dialog)

The SSH tab allows you to configure options of SSH protocol and encryption.

More SSH options are available on subtabs:

Protocol Options

The Enable compression checkbox enables data compression in the SSH connection: data sent by the server is compressed before sending, and decompressed at the client end.

The Preferred SSH protocol version selection allows you to select whether you would like to use SSH protocol version 1 or version 2. WinSCP will attempt to use protocol 1 if the server you connect to does not offer protocol 2, and vice versa. If you select 1 only or 2 only here, WinSCP will only connect if the server you connect to offers the SSH protocol version you have specified. (see note 1)

You can see actually used protocol version on Server and Protocol Information Dialog.

Encryption Options

WinSCP supports a variety of different encryption algorithms, and allows you to choose which one you prefer to use. You can do this by dragging the algorithms up and down in the list box (or moving them using the Up and Down buttons) to specify a preference order. When you make an SSH connection, WinSCP will search down the list from the top until it finds an algorithm supported by the server, and then use that.

WinSCP currently supports the following algorithms:

  • AES (Rijndael) - 256, 192, or 128-bit SDCTR or CBC (SSH-2 only)
  • Arcfour (RC4) - 256 or 128-bit stream cipher (SSH-2 only)
  • Blowfish - 256-bit SDCTR (SSH-2 only) or 128-bit CBC
  • Triple-DES - 168-bit CBC SDCTR (SSH-2 only) or CBC
  • Single-DES - 56-bit CBC (see below for SSH-2)

If the algorithm WinSCP finds is below the warn below here line, you will see a warning box when you make the connection:

The first cipher supported by the server is single-DES, which is below the configured warning threshold.

Do you want to continue with this connection?

This warns you that the first available encryption is not a very secure one. Typically you would put the warn below here line between the encryptions you consider secure and the ones you consider substandard. By default, WinSCP supplies a preference order intended to reflect a reasonable preference in terms of security and speed.

In SSH-2, the encryption algorithm is negotiated independently for each direction of the connection, although WinSCP does not support separate configuration of the preference orders. As a result you may get two warnings similar to the one above, possibly with different encryptions.

Single-DES is not recommended in the SSH-2 protocol standards, but one or two server implementations do support it. WinSCP can use single-DES to interoperate with these servers if you enable the Enable legacy use of single-DES in SSH-2 option; by default this is disabled and WinSCP will stick to recommended ciphers. (see note 1)

You can see actually used encryption algorithm on Server and Protocol Information Dialog.

Notes:

1) The text is copy of PuTTY User Manual or was inspired by it.