This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to auto login through shell scripts?  RSS feed

 
Dez Max
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,
I'm quite inexperience in shell scripts. I've a situation wherein i want to a telnet to another server through my shell scripts, and do some stuffs and come back. Now my problem how to supply login and passwd in shell scripts, so that it does not ask user to type in the user id and passwd. Let me know if any of you know about this.
Hope to hear from you guys.
regs
Dez
 
Tim Holloway
Bartender
Posts: 18709
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you ever heard of a program called "expect"?
 
Dez Max
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No i haven't heard . Do let me know about it?
 
Tim Holloway
Bartender
Posts: 18709
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When in doubt, Google it out!
http://www.linux-mag.com/2001-01/guru_01.html
http://www-106.ibm.com/developerworks/linux/library/l-sc1/
 
Dez Max
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Tim.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!