save password for second logon [2]

save password for second logon

Friday, September 9, 2011 1:40 AM - hank

Hello,
I want to know where to save password for second logon. Since I connect from server A to server B, each time I connected to server B, a password is needed. Can we save password for server B in this Xshell version?

BR
Hank

Program Ver. : Xshell 4


Re: save password for second logon

Friday, September 16, 2011 2:47 AM - Hank

Nobody knows?


Re: save password for second logon

Sunday, September 18, 2011 10:53 PM - Support

You can save the password for the destination server in the login script. To use this feature:

1. Open the session properties and click on the Login Scripts.
2. Click on the Execute the following Expect & Send pairs.
3. Click the Add button.
Result: The Expect & Send dialog box opens.
4. For the Expect field, enter the prompt string such as [user@192.168.1.1 ~]$
5. For the Send field, enter the command you use to connect to the destination server such 'ssh $HOSTNAME'.
6. Click OK to save.
7. Click the Add button again.
8. For the Expect field, enter the password prompt such as 'password:'
9. For the Send field, enter the password.
10. Select the Hide this text option.
11. Click OK to save the changes.

Next time you open this session, it will connect to the destination server automatically.


---
Technical Support




Previous views: 139