terminal remote session automation
I want to automate the ssh logins the following way: (same as securecrt).
1) want to add a drop down menu where user clicks to launch a remote session (save already).
2) the session (saved earlier) will open ssh connection put the username password to auto login.
3) run few commands and then hands over the session to me same like expect interactive.
4) sets the terminal title to the hostname of the remote session.
5) session login as well.
the steps (2,3,4) can be achieved through expect and terminal commands, but i want to know how to add an expect script to gnome-terminal which calls a locally saved expect script.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Shabbir Ahmed for more information if necessary.