-1

I'm looking into making a temporary Telnet server so I can remotely test network connectivity and data transmission integrity. I don't have the authority to install the telnet server Windows Feature.

2
  • what's the purpose of this? which command are you planning to enter?
    – Alex G
    Oct 20, 2012 at 23:53
  • Why not use winrs or New-PSSession instead?
    – jscott
    Oct 21, 2012 at 0:57

3 Answers 3

8

Don't make a telnet server.

Install OpenSSH and you'll have a secure version of telnet which you can use to run remote commands - all without having to write a single line of code.

4
  • What ports do I have to forward to use OpenSSH?
    – Piccolo
    Oct 20, 2012 at 23:21
  • Assuming you use the default: 22.
    – Jay
    Oct 20, 2012 at 23:23
  • I second this and 22 is the port you need for ssh
    – egorgry
    Oct 20, 2012 at 23:23
  • 2
    ... and if it wasn't clear, Telnet is insecure and isn't recommended for production use by any sane administrator, and hasn't been recommended for a long time.
    – David W
    Oct 20, 2012 at 23:27
1

Check out this thread of mine, titled How can I connect to a Windows server using a Command Line Interface?, which might be helpful in accomplishing what you're really trying to do.

1
  • This is good, and includes various options. An ssh server is good if you are coming remotely from a Linux machine; but using PSExec or native Windows tools may be best if you are coming remotely from another Windows machine. Oct 21, 2012 at 0:27
0

Here are steps from Microsoft, to achieve your goal.

9
  • Really should come with a disclaimer not to actually do this, though. Oct 21, 2012 at 0:47
  • @HopelessN00b: OP should have think about this, before starting this bad idea. What to lose here? =))
    – Alex G
    Oct 21, 2012 at 0:49
  • 1
    I've got no problem with telling someone how to shoot their foot off, but as a sysadmin, a big part of the job is at least forewarning the person in question that they're about to blow their foot off. A lot of them pull the trigger anyway, and when they do, it's not your fault, so long as you warned them in advance. Oct 21, 2012 at 0:58
  • Forget about them. Less people, less problems.
    – Alex G
    Oct 21, 2012 at 1:05
  • I've enabled it, now what command do I use to start it up? Yes, I know Telnet is risky business as it's not encrypted. It's more of a test than anything.
    – Piccolo
    Oct 21, 2012 at 1:06

Not the answer you're looking for? Browse other questions tagged .