telnet

MusicTech

New Member
Hi, I was just starting with telnet, I dunno if I need to download anything, when I tyoe in telnet to the terminal it says telnet> that's all I know. I don't know the full extent of it's power, just hoping somebody could give me some useful commands to start with and a better idea of what it is other than just a telecommunication network. I couldn't find many articles on google at my level, so just wondering if somebody could give me some good commands thanks
 
you have probably entered interactive mode, and it is waiting for input. Telnet is a less secure way to connect to a system through a command prompt. You would use this to send a remote computer commands to manage it or accomplish a task.

The most common way is ssh, and it is what I use for managing my systems, however mine are all Unix/Linux based. There is a free ssh application for windows called Putty.exe and I would recommend it.

There are newer telnet technologies that encrypt what you are doing from your computer to the host.

What exactly are you trying to accomplish, or are you just teaching yourself telnet?

here is what you can do in interactive mode:

 

Attachments

  • Picture 2.jpg
    Picture 2.jpg
    14.6 KB · Views: 12
Last edited:
Well, I have Mac, so I am unix, so basically, telnet is taking your terminal and doing the save thing on someone else's computer?

I remember finding something like this on the internet, and I believe it did something like this.

let's say I wanted to play tricks on my friend, with a mac sitting right next to me by having his computer talk to him, could I use telnet, find another computer on the same network, (LAN or WAN?) and say open up applescript and type and execute the necessary commands? What about if I were at school where there are macs, and I wanted to access the computer I am now, which is my mac, and edit a preference or copy a file to that computer? could I do something like that. It's jsut that there a lot of things I don't understand in that pic you sent me for instance:

what are operating parameters?

and what is "connect to a site" as in what arguments would I have to give telnet to connect to a site, whatever site refers to... Could I get onto other IP's and stuff like that.

Also, why do people say to disable telnet and get ssh. what is ssh again? what's the difference?

Thanks!!!!
 
Last edited:
telnet is what windows boxes use. SSH is secure shell, and is what Unix/Linux boxes use. It is encrypted by default. There are caveats on both sides.

I recommend getting this for your Mac

http://www.bruji.com/bwana/

Then just read the manual pages of telnet and ssh.
 
Wow, that's cool, i was looking into that stuff THis seems too easy and too powerful so.. If I were on a mac at school.... i could just type in ssh ~~~~@~~~~~~ (wheras ~'s are my info) and have access to my file system? I mean that seems a bit insecure...

Something I don't quite know, IP's are over a WAN, right? night individually, per computer, right?
 
Wow, that's cool, i was looking into that stuff THis seems too easy and too powerful so.. If I were on a mac at school.... i could just type in ssh ~~~~@~~~~~~ (wheras ~'s are my info) and have access to my file system? I mean that seems a bit insecure...

Something I don't quite know, IP's are over a WAN, right? night individually, per computer, right?

Well,

I am not sure exactly what you are asking. SSH and telnet are methods of remotely controlling a computer through a command line. If you want to internet file share and do like remote desktop that is different.

There are two sets of IP addresses. Public and Private. Private ranges are used for private networks, public are used for the www. Routers, route traffic in between networks and over the internet. The Internet is like one giant WAN (or MAN even).
 
lets not blame windows for telnet , it was there much longer than XP,vista etc.





--------------------------
www.osischool.com
Interactive network tutorial

You can encrypt telnet, but it isn't on by default which is a bad design by MS. Also, I am not sure why you say I am blaming them for telnet? They didn't develop it, it was used on Unix systems a long time before Windows even existed.

The problem is that Microsoft implements it in a way which is retarded, but that is just my opinion.
 
can you help to understand the extent you mean by the word 'control'. You mean basically open up a terminal on another computer and use the terminal commands as if I were the one sitting at that computer using it's terminal?

Like I could do this:

ssh <username>@<ip>
osascript -e "ScriptScriptScript"

and do things like that, I tried remotely logging on to my own computer and that worked. would it be posisble to use ssh to control a windows computer, and if so, how so?
 
can you help to understand the extent you mean by the word 'control'. You mean basically open up a terminal on another computer and use the terminal commands as if I were the one sitting at that computer using it's terminal?

Like I could do this:

ssh <username>@<ip>
osascript -e "ScriptScriptScript"

and do things like that, I tried remotely logging on to my own computer and that worked. would it be posisble to use ssh to control a windows computer, and if so, how so?






yeah kinda, i don't see the point of controlling windows using ssh .
of course some programs are manageable with CLI but most of the things in windows are controled using GUI. unlike linux/unix where u can config everything using CLI. most of the configuration is stored in files and its easy to change and manage using SSH.

for Windows i recommend using remote terminal rather than ssh/telnet





----------------------
www.osischool.com
Interactive network tutorial
 
So what's a good command to use to copy files then? So, I log in remotely w/ ssh. Then how would I copy file x from remote to local? What "sub-command" for lack of better word would I use, because a simple cp, wouldn't work as it would have to transfer to another machine mid execution. Could someone tell me some syntax for this? I certainly wouldn't mind a simple cp command to copy from comp to comp, but I just don't see how that would work. Thanks
 
So what's a good command to use to copy files then? So, I log in remotely w/ ssh. Then how would I copy file x from remote to local? What "sub-command" for lack of better word would I use, because a simple cp, wouldn't work as it would have to transfer to another machine mid execution. Could someone tell me some syntax for this? I certainly wouldn't mind a simple cp command to copy from comp to comp, but I just don't see how that would work. Thanks

look into rsync.
 
Back
Top