This project is read-only.

entering username before authentication

Mar 7, 2014 at 1:06 PM
Hello,

i am trying to connnect to a sonicwall device with ssh.
for the sonicwall i have first to enter first an user for "Login as:" , for example "snwcli"

After that i have to enter username and Password.
------ Putty Screen Looks like ------------------------------

login as: snwcli
                     ,,,,,,,,,,,,,,,
      ,,,mmbbbbbb11111111111111111111111bbbbbmm,,,
,,,b||PPPPPPP||````````````````|PPPPPPPPP111111111111bbm,,
`````` `````PPPP111111111bm,
                                                 ```PP1111111bm,
                                                      `PP111111b,
                                                         |111111:
                                                         .1111P|.
Copyright (c) 2010 SonicWALL, Inc. ,b1PP|`
                                                     ,,||```
User:admin
Password:

NSA 3500>

------------ end of putty screen


So the normal authentication will not work.
Is there a way to connect to such device?
Maybe somebody has an example in vb.net or c'

thank you

Regards
Mar 7, 2014 at 5:21 PM
For such things you have to work with ShellStream. In this you can expect questions, e.g. "User:", and write your answers, e.g. "admin".
Marked as answer by drieseng on 4/6/2014 at 10:44 AM