LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-29-2004, 07:18 PM   #1
flamesrock
Member
 
Registered: Aug 2003
Distribution: Gentoo 2006.1
Posts: 405

Rep: Reputation: 30
Change SSH Port?


Hi,

unfortunately, my ISP blocks the ssh port.

1) How would I go about changing it?
2) How would I configure forwarding with a afraid.org?

-thanks in advance
 
Old 09-29-2004, 08:09 PM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Quote:
unfortunately, my ISP blocks the ssh port.
Nasty! Don't support that - get a new ISP

Anyway:
1) Have a look at /etc/ssh/sshd_config, or otherwise any file with sshd in the title under /etc. You will see a "Port 22" line somewhere in it, very likely near the top.

2) Not sure what you mean... what is it you want to achieve?
 
Old 09-29-2004, 11:47 PM   #3
Kronux
Member
 
Registered: Sep 2004
Distribution: RH9/FreeBSD
Posts: 36

Rep: Reputation: 15
Actually you might can talk to your ISP about open port policy, who knows maybe they will help you to keep your service. About forwarding on afraid.org, you might want to consult their forum with this question. I did a search and found a lot of information on webforwarding with afraid.org. Also who knows if the ssh port is disable, maybe 1000 and below are disable by your provider. You might have to use port 8080. But like I said talk to your ISP, who knows they might can help you out.

Last edited by Kronux; 09-29-2004 at 11:55 PM.
 
Old 09-30-2004, 01:00 PM   #4
flamesrock
Member
 
Registered: Aug 2003
Distribution: Gentoo 2006.1
Posts: 405

Original Poster
Rep: Reputation: 30
thanks for the responses!

I did infact talk to them directly, after they recieved my complaint from the CRTC

They blocked these ports for 'security' reasons-- 'trying to stop the spread of viruses etc'. However, they don't block these ports on business plans! Plus, they only blocked out the popular ones, ie 80, 20-23 etc. Higher, vulnerable ports were completely ignored

My only alternative strictly enforces caps of 5GB down, and ~1GB up, whereas I can download a terrabyte with my current ISP w/o hearing anything..They have a gigantic backbone thats going mostly unused.

Quote:
2) Not sure what you mean... what is it you want to achieve?
Well, instead of SSH'ing my IP, I wanted to SSH ssh.mydomain.com, but I'm not exactly sure which settings I should tick.
 
Old 09-30-2004, 03:16 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
to ssh to a domain from the net, just use a site like zoneedit or an existing top level domain, or a generic dyndns site. as long as the ip resolves on the net, that's all there is to it.
 
Old 09-30-2004, 04:18 PM   #6
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
acid_kewpie is dead right, the only thing to remember is you will need to pass the new port number to ssh on the command line (or in the config where appropriate for your client)
 
Old 10-02-2004, 07:12 PM   #7
flamesrock
Member
 
Registered: Aug 2003
Distribution: Gentoo 2006.1
Posts: 405

Original Poster
Rep: Reputation: 30
It worked! At first it just hung, and did nothing. I went to afraid.org, and instead of using webforward, I created an 'A' type subdomain and pointed it to my domain, then ssh'ed
ssh -p 8081 ssh.mydomain.com (for reference purposes)

works great
 
  


Reply



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
change SSH to diffrent port kamtono Linux - Security 5 08-13-2009 06:55 PM
ssh change port Longinus Linux - Newbie 14 12-16-2006 03:34 PM
Change ssh port number israel Linux - Software 2 08-30-2006 05:18 AM
can i change the host's ssh port? guardianx Linux - Software 7 07-11-2005 01:47 PM
Able to change port number between telnet and ssh? x5452 Linux - General 3 03-28-2004 05:04 PM

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

All times are GMT -5. The time now is 09:17 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