Create remote hostname for SSH?


  1. Posts : 27
    Windows 7 Ultimate 64-bit
       #1

    Create remote hostname for SSH?


    Hi I'm fairly new to using SSH and I'm trying to use it via cygwin. I've only been able to connect locally so I was wondering how to make a hostname such as user@something.com so I can connect remotely from anywhere I want. Do I need to pay for a domain to route traffic or can i make my own locally that can be accessed anywhere?
      My Computer


  2. Posts : 543
    Windows 7 Ultimate x64
       #2

    Hello,

    The easiest and probably safest way of doing this would be to remote onto your PC with a program like logmein free.

    You could port forward SSH on the router to your local PC and then setup a DynDNS account but its alot more work. Plus leaving SSH open can be a security concern as it can be brute forced.


    Dave
      My Computer


  3. Posts : 12
    Windows 7 Ultimate x64
       #3

    You would have to actually buy a domain name, for example through godaddy.com and then map that to your home IP address.

    Honestly I would just write down your IP address in your phone (to remember it) and use that to connect to your home PC via SSH. On a side note, make sure you have a very long password that contains letter, numbers, and special characters. Also, try running SSH on some port other than 22. Those two precautions will enhance your security a great deal.
      My Computer


  4. Posts : 543
    Windows 7 Ultimate x64
       #4

    tr1x said:
    You would have to actually buy a domain name, for example through godaddy.com and then map that to your home IP address.

    Honestly I would just write down your IP address in your phone (to remember it) and use that to connect to your home PC via SSH. On a side note, make sure you have a very long password that contains letter, numbers, and special characters. Also, try running SSH on some port other than 22. Those two precautions will enhance your security a great deal.
    Not all IP addresses are statically provided by an ISP so this probably wouldnt work for long. Also, you would need to port forward on the router.

    Logmein or another remote desktop application is the simplistic way, no need to port forward or remember IP addresses.


    Dave
      My Computer


  5. Posts : 12
    Windows 7 Ultimate x64
       #5

    Dave Atkin said:
    tr1x said:
    You would have to actually buy a domain name, for example through godaddy.com and then map that to your home IP address.

    Honestly I would just write down your IP address in your phone (to remember it) and use that to connect to your home PC via SSH. On a side note, make sure you have a very long password that contains letter, numbers, and special characters. Also, try running SSH on some port other than 22. Those two precautions will enhance your security a great deal.
    Not all IP addresses are statically provided by an ISP so this probably wouldnt work for long. Also, you would need to port forward on the router.

    Logmein or another remote desktop application is the simplistic way, no need to port forward or remember IP addresses.


    Dave
    Just depends, my ISP issues dynamic IP's but I never power off my modem so I don't lose it. And yes, you'll need to forward the port on your router. I understand your stance about using a different program instead of RDP.. I personally use RDP so I don't have to install a third party program on every PC I use to remote into my computer. Other than RDP, my recommendation would be VNC.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:20.
Find Us