What's the best way to telnet from a remote Windows PC without using RDP?
Posted
by
Rob D.
on Server Fault
See other posts from Server Fault
or by Rob D.
Published on 2010-12-30T17:24:37Z
Indexed on
2010/12/30
17:56 UTC
Read the original article
Hit count: 249
Three Networks:
- 10.1.1.0 - Mine
- 172.1.1.0 - My Branch Office
- 172.2.2.0 - My Branch Office's VOIP VLAN.
My PC is on 10.1.1.0. I need to telnet into a Cisco router on 172.2.2.0. The 10.1.1.0 network has no routes to 172.2.2.0, but a VPN connects 10.1.1.0 to 172.1.1.0. Traffic on 172.1.1.0 can route to 172.2.2.0.
All PCs on 172.1.1.0 are running Windows XP. Without disrupting anyone using those PCs, I want to open a telnet session from one of those PCs to the router on 172.2.2.0.
I've tried the following:
psexec.exe \\branchpc telnet 172.2.2.1
psexec.exe \\branchpc cmd.exe
telnet 172.2.2.1
psexec.exe \\branchpc -c plink -telnet 172.2.2.1
Methods 1 and 2 both failed because telnet.exe is not usable over psexec. Method 3 actually succeeded in creating the connection, but I cannot login because the session registers my carriage return twice. My password is always blank because at the "Username:" prompt I'm effectively typing: Routeruser[ENTER][ENTER]
It's probably time to deploy WinRM...
Does anyone know of any other alternatives?
Does anyone know how I can fix plink.exe so it only receives one carriage return when I use it over psexec?
© Server Fault or respective owner