LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-29-2003, 02:17 PM   #1
fuelinjection
Member
 
Registered: Nov 2003
Location: County Durham, England
Distribution: Fedora
Posts: 238

Rep: Reputation: 30
ssh port query


what port does ssh usually run on?

I want to access my computer via ssh from work, but work have a firewall in place. I have found that they have port 81 open for ftp, I want to know if its possible to alter ssh so that it listens on my computer on port 81 so that I can connect.

Does anyone know how to do this?
 
Old 12-29-2003, 02:24 PM   #2
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
In /etc/ssh modify your sshd_config file and change the port it is listening on.
 
Old 12-29-2003, 03:21 PM   #3
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Hi,

Are you sure your company's firewall blocks outbound port 22? Port 22 is the default port of ssh. Have you even tried connecting via ssh?

Quote:
I have found that they have port 81 open for ftp, I want to know if its possible to alter ssh so that it listens on my computer on port 81 so that I can connect.
From reading this, it seems that your company restricts certain ports (inbound) while allowing different ones to be open so that clients can connect. You just said that they open port 81 for ftp, that means that people would connect to your company's ftp server on port 81 rather than default port 21. This does not necessarily mean that your company has blocked outbound port 21.

1. Try connecting to your machine at home via ssh first. This will determine if they did in fact block outbound port 22.

-twantrd
 
Old 12-30-2003, 01:33 AM   #4
fuelinjection
Member
 
Registered: Nov 2003
Location: County Durham, England
Distribution: Fedora
Posts: 238

Original Poster
Rep: Reputation: 30
They have blocked port 22.

We dont use ssh at work, all works machines are windows based and we use citrix to remotely use other computers within the company.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH query sachinh Linux - Networking 1 04-14-2005 06:37 AM
SSH to another port? TheRealDeal Linux - Networking 4 06-02-2004 07:39 PM
Serial Port Query RH9 xianzai Linux - Hardware 2 01-19-2004 05:36 AM
SSH Port Finlay Linux - Networking 4 06-09-2003 05:00 PM
Query for an SSH website. yuzuohong Linux - General 3 09-29-2002 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:34 AM.

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