LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-22-2004, 02:50 PM   #1
pupton
LQ Newbie
 
Registered: Sep 2004
Posts: 14

Rep: Reputation: 0
ssh over port 443


Hi all

Want to get around my firewalling at work by running an ssh session over port 443. Then, using Putty I want to do a bit of port redirection and setup a VNC session to my linux box...

So the big question is, how do I change ssh to run on port 443???
 
Old 09-22-2004, 03:03 PM   #2
RandomLinuxNewb
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
Do you have a firewall seup at home? If so you could just forward port 443 to the machine you want to log into. That's how mine is setup. You can also change the port sshd listens on by modifying the config file (/etc/ssh/sshd_config on slackware). Change the line that says Port 22 to Port 443 and you are done.

btw, you don't happen to work at PC Club do you (443 is the only port we have open.)?
 
Old 09-22-2004, 03:18 PM   #3
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
- Well you could uncoment the line in sshd_config that reads, "#Port 22" and make it "Port 443"; (this is the server not the client And configure you firewall to accept this port.

- You could keep it on the same port and use iptables to forward the ports to the correct ones:

But I don't think you have access to the sshd_config and iptables at work? And I also think that at work there is a secure webserver bound to that port already so you can't connect via ssh to that port.

I don't think you can have two services on one port.
 
Old 09-22-2004, 03:38 PM   #4
pupton
LQ Newbie
 
Registered: Sep 2004
Posts: 14

Original Poster
Rep: Reputation: 0
cheers guys... sorted it... changed sshd_config and it works a treat... I now have full desktop access from work to home now....

Those network admins cant stop me reading my email & surfing the net.......
 
Old 09-22-2004, 04:34 PM   #5
Bliksem
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Rep: Reputation: 0
What vnc software are you running?
 
Old 09-22-2004, 09:36 PM   #6
sti2envy
Member
 
Registered: Sep 2004
Posts: 43

Rep: Reputation: 15
Re: ssh over port 443

Quote:
Originally posted by pupton
Hi all

Want to get around my firewalling at work by running an ssh session over port 443. Then, using Putty I want to do a bit of port redirection and setup a VNC session to my linux box...

So the big question is, how do I change ssh to run on port 443???
hey man...im trying to ssh from work to home too, doesnt work..even try ports 8080 or 80, any ways to find out which ports my work's firewall allows for outgoing traffic?
 
Old 09-22-2004, 09:45 PM   #7
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Quote:
Originally posted by pupton
cheers guys... sorted it... changed sshd_config and it works a treat... I now have full desktop access from work to home now....

Those network admins cant stop me reading my email & surfing the net.......
Looks like he changed the setting on the server at work, if I followed this correctly? Did you remember to tell everyone else at work to connect on that port?
 
Old 09-23-2004, 03:07 AM   #8
pupton
LQ Newbie
 
Registered: Sep 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Heres my setup...

I run my a Suse 9 server at home thats sitting behind my own router on the end of a broadband connection...

At work, we only allow port 80 & 443 out to the Internet... So I reconfigured SSH on my Linux server at home to listen on port 443, opened up my own firewall to allow port 443 access to my linux server...

On my windows pc at work, I setup a putty session to redirect all localhost requests for port 5910 (VNC on my linux server) down the ssh tunnel and hey presto, I have SLOW access to my linux server for personal email and open internet access.....

Now my problem is that VNC is soooo slow. In the past I have run a Windows 2000 server at home and used terminal services from work to do the same thing. That was really fast & usable. VNC on Linux is sooo slow due to the way it renders the screen( I assume?).

Does anyone know of a way to speed it up?
 
Old 09-23-2004, 03:38 AM   #9
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Good job.

I would suggest not using a windows manager at all and simply ssh to your box at home and check email and download files etc. Or also just pipe the programs you use and not the whole desktop. Instead of "startx" try "thunderbird" for example or whatever you use for mail. It's way faster, well as fast as your connection.
 
Old 09-23-2004, 03:46 AM   #10
pupton
LQ Newbie
 
Registered: Sep 2004
Posts: 14

Original Poster
Rep: Reputation: 0
You lost me... dont forget im a total newbie.... At the moment I'm the whole VNC session over SSH to work... As I said earlier, its SLOWWWWWW, very SLOWWWWW....

All I want access to is a bit of browsing and emial access to the IMAP4 server located in the Internet.

I am not running a mail server on my Linux box and I dont want to go that way either so How can I redirect my email/internet access to my work pc?

Pupton
 
Old 09-23-2004, 04:01 AM   #11
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
I'll try:

- Start an X server;
- Fireup a terminal; (putty)
- In the terminal type, "netscape";

Only the netscape app will run in you x server. All over ssh. Done'

Last edited by micxz; 09-23-2004 at 04:39 AM.
 
Old 09-23-2004, 04:12 AM   #12
pupton
LQ Newbie
 
Registered: Sep 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Really appreciate your help....

Sorry for sounding dull & stupid but does not mean much to me... Are you suyggesting that I redirect my X session down my SSH tunnel from m,y linux pc at home to my Windows pc at work?

If so, what software do I need to run on my windows pc to display my X server sesssion?
 
Old 09-23-2004, 04:41 AM   #13
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
You need an X server. I used to use "mix" when it was free.
 
Old 09-23-2004, 04:44 AM   #14
pupton
LQ Newbie
 
Registered: Sep 2004
Posts: 14

Original Poster
Rep: Reputation: 0
ok and this runs on my Windows pc, remotely fro linux... And I use Putty to redirect X?
 
Old 09-23-2004, 04:59 AM   #15
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Now your catching on. I would futher suggest installing linux on the laptop at work so you don't have to $pay or scour the net for a free x server. btw if you find one (free win x serv) let me know.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH on port 443? nsusa Linux - Newbie 1 11-08-2005 08:53 PM
SSH on port 443 Randvegeta Linux - Networking 4 09-25-2005 06:17 AM
access using port 443 gtoerner Linux - Security 3 07-14-2005 05:48 PM
turn off http port 80, keep https port 443 lothario Linux - Networking 6 02-11-2005 04:06 AM
Getting SSL onto PORT 443 kuso Linux - Software 6 03-10-2004 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration