[winswitch] SSH login failure with winswitch

Antoine Martin antoine at nagafix.co.uk
Wed Aug 20 14:04:47 BST 2014


On 20/08/14 19:39, Shane Williams wrote:
> I've been trying for a while to use winswitch between several
> systems.  First, trying to connect from OSX to a Linux workstation,
> but then from one Linux workstation to another (I'm running gentoo on
> both Linux boxes).
>
> In each case, what I've found is that it looks like SSH isn't able to
> connect with the password, despite the fact that I can connect between
> systems using ssh at the command line (these are systems I connect to
> regularly, so I feel very confident I'm not mistyping the password).
>
> In particular, what I'm seeing in the logs are entries like:
>
> Aug 20 07:27:54 xxxxxx sshd[23276]: SSH: Server;Ltype: Version;Remote:
> 192.168.1.9-56825;Protocol: 2.0;Client: Twisted
> Aug 20 07:27:54 xxxxxx sshd[23276]: SSH: Server;Ltype: Kex;Remote:
> 192.168.1.9-56825;Enc: aes256-ctr;MAC: hmac-sha1;Comp: none [preauth]
> Aug 20 07:27:54 xxxxxx sshd[23276]: SSH: Server;Ltype: Authname;Remote:
> 192.168.1.9-56825;Name: shanew [preauth]
> Aug 20 07:27:54 xxxxxx sshd[23276]: Postponed keyboard-interactive for
> shanew from 192.168.1.9 port 56825 ssh2 [preauth]
> Aug 20 07:27:54 xxxxxx last message repeated 2 times
> Aug 20 07:27:54 xxxxxx sshd[23276]: Failed keyboard-interactive/pam for
> shanew from 192.168.1.9 port 56825 ssh2
> Aug 20 07:27:54 xxxxxx sshd[23276]: Disconnecting: Too many
> authentication failures for shanew [preauth]
>
> I haven't tried using keys yet, but I get the impression that keys
> shouldn't be necessary to connect.
Correct. Keys are nice, but should not be needed.
>
> Any suggestions?
Yes... (I assume that you've checked your username, etc):
* on Linux, especially with distros like gentoo, you may need to add an
"askpass" utility to your environment to ensure that you get prompted
for a password
* could be an incompatibility with the Twisted library you have
installed (on Linux only, we ship our own one with OSX builds)
* OSX, I will try to test again, what version are you using?
(unfortunately, I don't have every version available for testing..)

Cheers
Antoine





More information about the shifter-users mailing list