I'm trying to use psftp with our server using keyboard-interactive
authentication. However, it seems that it attempts to always use
password method if available even when the server sends back keyboard-
interactive as one of the allowable methods. I could be wrong but I
thought kb-int was supported by psftp.
As a quick test, I made the server send back just public_key and
keyboard-interactive as allowable methods and it send back an error
saying not supported auth methods were found. Here is the log:
-------------------------------------------------------------------------------
Looking up host "localhost"
Connecting to 127.0.0.1 port 10022
Server version: SSH-2.0-SecureEscorts1.0
We claim version: SSH-2.0-PuTTY_Release_0.60
Using SSH protocol version 2
Using Diffie-Hellman with standard group "group1"
Doing Diffie-Hellman key exchange with hash SHA-1
Host key fingerprint is:
ssh-rsa 1024 9b:02:99:fd:09:74:5a:3e:f8:67:33:ba:18:7a:5b:aa
Initialised AES-128 CBC client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-128 CBC server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Using username "Admin".
Further authentication required
Further authentication required
Disconnected: No supported authentication methods available
Fatal: Disconnected: No supported authentication methods available
-------------------------------------------------------------------------------
Thanks in advance for any feedback,
CV
I can do this with no problem. One thought: in the PuTTY GUI, there is a
check box for keyboard-interactive under Connection->SSH->Auth; make sure
that's turned on in the default settings.
--
Richard Silverman
r...@qoxp.net
Sorry if I wasn't clear in my earlier post but I could do this with
putty, its psftp that I was having problem with. psftp by default
doesn't use keyboard-interactive but password authentication. Maybe
this is because my putty default settings don't use keyboard-
interactive authentication. Well, I figured a workaround. I can use
the -load <sessionname> option to load a putty kb-int session and this
works.
Thanks.