Link to home
Start Free TrialLog in
Avatar of logic2
logic2

asked on

SSH to Linux Shell using a hostname and port 80

Dear All

I have a linux machine and i'd like to gain access to its Shell from a windows machine
Problem is that am natted, so no private ip possible, is there a way to register my machine on the internet so that i have a name that can be used to access it remotely ? and how ?
Also i'd like to do that over port 80 not the standard SSH or Telnet ports

Thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of flob9
flob9
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tintin
Tintin

Which end is natted?  The Linux or Windows end?

As for ssh over HTTP or HTTPS, then you can use corkscrew.  http://www.agroman.net/corkscrew/
Avatar of logic2

ASKER

Thanks a lot guys
I'd have to try all this and get back to you, it might take me sometime though
Avatar of logic2

ASKER

hi guys
i liked the no-ip thing a lot however the thing is that i guess even if ssh is allowed, this would put the person connecting directly to my router (its a unix box), while i want to connect to the pc
what i really want is something like Team Viewer for windows which connects you directly to the machine but for Linux i'd just be happy with connecting to the shell
Assuming the Linux server is natted, then you can just set up port forwarding on your router.
Avatar of logic2

ASKER

agree to that but my router is fairly old and no option for that :)
any other ideas ?
dcesari, that link you posted isn't relevant to this problem.  

If the router can't do port forwarding, reverse natting or proxying, then I can't see any way of achieving what you need.
Avatar of logic2

ASKER

Guys i managed to upgrade my router and had port 22 forwarded and i was able to access it remotely from the internet but not across my company's firewall, please note that am doing this to access my powerful PC to study remotely on it so nothing against regulations
SO the firewall is denying this traffic, so i'd like to use a program on windows at the company to tunnel this ssh traffic over http while still achieving the same result
That's what corkscrew will allow you to do.
Avatar of logic2

ASKER

lol no :)
i managed to get it working now
simple upgraded the firmware, got port 443 forwarded, changed ssh to listen to 443 and used SSH on 443 and voila :)
I used no-ip for dynamic DNS as well so i will accept flob9 answer it was the best here