| | |
Telnet and Apple Script
![]() |
•
•
Join Date: Apr 2005
Posts: 66
Reputation:
Solved Threads: 0
Hi Folks, hope this is in the right section.
I need to Telnet to a machine from OSX, the machine is a linux box, when i do this from the terminal (or iterm) it connects but prompts me immediately with "password", it seems to be skipping the "logon" bit, but if i hit return it then prompts me for my login then password and i can get in. I have been playing with Applescripts with the telnet command and the terminal but still cant get it to go right. What i need to do is add a carriage return in when it prompts me for the password, this would then take me to the logon bit which i need. how does one do this in applescript??
Bit long winded i know but there you go! Any help would be really helpful.
gn0m3
I need to Telnet to a machine from OSX, the machine is a linux box, when i do this from the terminal (or iterm) it connects but prompts me immediately with "password", it seems to be skipping the "logon" bit, but if i hit return it then prompts me for my login then password and i can get in. I have been playing with Applescripts with the telnet command and the terminal but still cant get it to go right. What i need to do is add a carriage return in when it prompts me for the password, this would then take me to the logon bit which i need. how does one do this in applescript??
Bit long winded i know but there you go! Any help would be really helpful.
gn0m3
Hello,
There's an easier way. Simply use -l username as a command-line argument to telnet when you start it. See
There's an easier way. Simply use -l username as a command-line argument to telnet when you start it. See
man telnet for more information. "Technological progress is like an axe in the hands of a pathological criminal."
All my posts may be freely redistributed under the terms of the MIT license.
All my posts may be freely redistributed under the terms of the MIT license.
![]() |
Similar Threads
- Full screen prob (Shell Scripting)
- setting permissions locally (Perl)
- Bash script prob (Kernels and Modules)
- Sluggish Quark6 using OS 10.3.4 (Mac Software)
- Something showling my system down (hijackthis log incl) (Viruses, Spyware and other Nasties)
- Shuting down Linux Cluster using Telnet (*nix Software)
- Find and Replace (Database Design)
Other Threads in the Mac Software Forum
- Previous Thread: Please Help!
- Next Thread: Appleworks 6 database enquiry
Views: 4215 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for Mac Software






