question

takabanana avatar image
takabanana asked Spirent_Admin edited

How to setup session profile for passing in a BLANK password?

I have a Device Session - that uses values from a Global Parameter file for the user/pass.

If needed, I can make the password NOT get its value from the Global Parameter file.

So far, I have been unsuccessful in trying to figure out how to make it work so that, during execution, it can log in with "root" and a blank password...

In the password field below, I have tried:

  • [param gateway/cavium/pass ""]
  • <left it blank below - thereby ignoring what is in the Parameter File>
  • Entered "\r\n" in Parameter file
  • Entered "\\r\\n" in Parameter file

What are my options in getting it to send in a BLANK password?!

![alt text][1]

Related Parameter File entry:

![alt text][2] [1]: /storage/attachments/553-2011-12-22_111051.png [2]: /storage/attachments/554-2011-12-22_111158.png
iTestsession profilessh
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mallikarjunarao avatar image
mallikarjunarao answered mallikarjunarao posted

SSH should support with password only, or you can use other authentication methods

When user login into the device, it sends requrest to SSH server to check property like PermitEmptyPasswords yes it will login into device, for that no need pass in the password filed in iTest  it will automatically login into device.

 

Hope this will help.

 

Thank

Malli

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

msandeep avatar image
msandeep answered msandeep posted

Hi,

 

Could you please let me know are you able to connect the device without using parameters in the session profile (by giving the SSH authentication details manually)?

 

Thanks,

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.