Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-09-2005, 11:56 AM
|
#1
|
|
Member
Registered: Jan 2005
Distribution: Arch
Posts: 35
Rep:
|
how to automate telnet login, script or something
Hi. I need to telnet to a certain server and enter a username and password each time I start up my computer, to get internet access, and I was wondering if there's a simple way to automate this, of course without storing the password as plaintext. Is there maybe even a common way to do these things in Linux? If not, how would I make / where would I find a simple script to do it?
|
|
|
|
11-09-2005, 01:58 PM
|
#2
|
|
Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,644
|
telnet is very insecure. You should use ssh instead if possible. (You can get Putty on your Windows machine to allow you to o ssh to Linux - Linux typically has ssh installed by default.)
With ssh installed you can setup an authorized_keys file on the Linux side that has a key from your workstation so that any time you login it doesn't require a password at all.
|
|
|
|
11-09-2005, 02:02 PM
|
#3
|
|
Member
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117
Rep:
|
try to use "expect" to automat login procedure.
ssh is the minimum for an automated login, because noone can control the output (you are automated to leave your box), anyone can listen your communication.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:07 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|