locked
is there anyway to get remote shell on widnows 7 and xp over WAN ?? RRS feed

  • Question

  • hello all .....

    i have computer in my home with ip :22.45.22.168

    and another one in my office ip : 99.66.55.197

    is there anyway to connect from my home to my office computer by using WAN ip and using remote shell commands not RDP 

    is there anyway to do that by powershell or winrm or psexec !!

    peace 

    Friday, August 8, 2014 6:54 PM

Answers

  • Telenet is another option, and uses less bandwidth than RDP.

    Telenet uses TCP Port 23 (by default) and the firewall will be probably need to be configured to allow this

    Install Telnet Server
    http://technet.microsoft.com/en-ca/library/cc770501(v=ws.10).aspx

    Enable the Telnet Server Service
    http://technet.microsoft.com/en-ca/library/cc732046(v=ws.10).aspx

    Configure the TCP Port Number Used by Telnet Server
    http://technet.microsoft.com/en-us/library/cc771200(v=ws.10).aspx



    • Edited by Brian Nadjiwon Monday, August 11, 2014 5:04 PM
    • Marked as answer by qassam123 Tuesday, August 12, 2014 5:33 AM
    Monday, August 11, 2014 4:55 PM
  • Telenet is a very old protocol for managing and downloading files.

    It is not a substitute for a dos prompt nor does it allow execute capabilities.

    It does not enable or provide for remote scripting.


    • Marked as answer by qassam123 Tuesday, August 12, 2014 5:33 AM
    Monday, August 11, 2014 7:16 PM
  • You can use Powershell to install Telenet (in 1 line).

    You can use Powershell to autologon onto a telenet session.

    You can use Powershell to send commands to a telenet session.

    You can use Powershell to quit a telenet session.

    But you can not use Powershell in a telenet session.

    There may be third party products that might achieve that.

    • Marked as answer by qassam123 Tuesday, August 12, 2014 5:33 AM
    Tuesday, August 12, 2014 2:14 AM

All replies

  • ????????????????
    Saturday, August 9, 2014 7:25 AM
  • Use a VPN (virtual private network).

    How to Set Up VPN in Windows 7
    http://www.pcworld.com/article/210562/how_set_up_vpn_in_windows_7.html

    That will probably require some configuration in your router/modem/firewall at work, which is outside the scope of these Microsoft forums. 

    Saturday, August 9, 2014 7:50 AM
  • thanks man for ur replay but i dont like to use the VPN in there another way ?? 
    Sunday, August 10, 2014 5:11 PM
  • The VPN will virtually put your home computer on your work's network, and provides a tunnel for the network protocols to transport across the internet in a secure manner. Those network protocols are required for any sort of remote scripting.

    There is no other way.

    Sunday, August 10, 2014 5:29 PM
  • but what about telnet ??
    Monday, August 11, 2014 4:39 PM
  • Telenet is another option, and uses less bandwidth than RDP.

    Telenet uses TCP Port 23 (by default) and the firewall will be probably need to be configured to allow this

    Install Telnet Server
    http://technet.microsoft.com/en-ca/library/cc770501(v=ws.10).aspx

    Enable the Telnet Server Service
    http://technet.microsoft.com/en-ca/library/cc732046(v=ws.10).aspx

    Configure the TCP Port Number Used by Telnet Server
    http://technet.microsoft.com/en-us/library/cc771200(v=ws.10).aspx



    • Edited by Brian Nadjiwon Monday, August 11, 2014 5:04 PM
    • Marked as answer by qassam123 Tuesday, August 12, 2014 5:33 AM
    Monday, August 11, 2014 4:55 PM
  • really thank man for ur replay 

    if i do what u said about telnet did i can get shell over wan ?

    Monday, August 11, 2014 5:54 PM
  • Telenet is a very old protocol for managing and downloading files.

    It is not a substitute for a dos prompt nor does it allow execute capabilities.

    It does not enable or provide for remote scripting.


    • Marked as answer by qassam123 Tuesday, August 12, 2014 5:33 AM
    Monday, August 11, 2014 7:16 PM
  • so is there anyway to run powershell over telnet i mean when i get shell on remote pc pver WAN can i use powershell from telnet to get full function on remote PC ?

    im sorry man for asking alot but we are in modren world and i love commands i used to do everything on my linux machine via terminal so i need to do the same with widows i hate GUI :D 

    • Edited by qassam123 Monday, August 11, 2014 9:35 PM
    Monday, August 11, 2014 9:33 PM
  • You can use Powershell to install Telenet (in 1 line).

    You can use Powershell to autologon onto a telenet session.

    You can use Powershell to send commands to a telenet session.

    You can use Powershell to quit a telenet session.

    But you can not use Powershell in a telenet session.

    There may be third party products that might achieve that.

    • Marked as answer by qassam123 Tuesday, August 12, 2014 5:33 AM
    Tuesday, August 12, 2014 2:14 AM
  • respect man :) thank u very much i got the point 

    i want to try now all u said , best wishes for us 

    peace 

    Tuesday, August 12, 2014 5:33 AM