Xshell Forum

save password for second logon

Last post: Sunday, September 18, 2011 10:53 PM by Support, 2 reply

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

save password for second logon

 
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
Friday, September 16, 2011 2:47 AM - Hank

Re: save password for second logon

 
Nobody knows?
Sunday, September 18, 2011 10:53 PM - Support

Re: save password for second logon

 
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