[Lilux-help] telnet or ssh through coward firewalls

Jay Christnach jay at jaytronix.dyndns.org
Sat Jul 24 19:01:24 CEST 2004


I don't want to have to stop another service like http,smtp,ftp,pop3, so 
So I'm looking for another port that is most likely to work from any site.
A second requirement is that I don't need to install software on the 
client side because they won't let me. (except for the ssh/telnet client 
putty which is a simple executable which doesn't kneed to be 
"installed"). A solution would be a java based thing like what Patrick 
Lemmers suggested.
Perhaps there is also a way to encapsulate ssh into http, but what would 
I have to run on the http-server to accomplish this?
I'm thinking of a php script with login that would activate/deactivate a 
sshd on a different port than normal and set/unset iptables rules 
accordingly. But which port to use if I don't want to sacrifice http or 
ftp etc.? As a last resort I would shut down ftpd and start sshd on port 
21.
What about nntp (119)? I guess this could be a good one.


Patrick Kaell wrote:

> Jay Christnach wrote:
> 
>> It is possible to run an sshd or telnetd on a different port. So what 
> 
> 
> It is possible to run sshd on any port you want.
> 
> Just edit /etc/ssh/sshd_config or any onter path your distro has chosen 
> to put sshd_config in. There is a line with the keyword Port. Uncommend 
> it and change the port number.
> 
> Greetings, Patrick Kaell
> 
> 





More information about the Lilux-help mailing list