PDA

View Full Version : SSH



habtasia
31-08-2008, 10:00 PM
Hiya people

I used to be really good at SSH but becuase i havnt used it in ages i cant remember a thing

I need to open port 10026 on my Linux webserver,

But i forgot how to do it, anyone have any ideas?

I am using PuTTY for SSH access

Thanks for your help in advance

Josh

P.S, +rep can also be earned in this thread :)

Calon
31-08-2008, 10:02 PM
You can do it via WHM. (root)

http://www.ssh.com/support/documentation/online/ssh/adminguide/32/Port_Forwarding.html
Using google won't cause any harm, posting for stupid reasons where you could have just used Google will cause harm.

habtasia
31-08-2008, 10:03 PM
Ive looked in WHM logged in as root

But theres nothing saying Edit Firewall or anything :S

Just pointing to Calon, I did google, but nothing came up, but thanks for the link :)

Edit: Thats not the kind of thing i want, I need to open a port to allow stuff through it, not Port Foward, Thanks Anyway

Recursion
31-08-2008, 10:16 PM
What OS is it? (Distro)

habtasia
31-08-2008, 10:23 PM
Its a Linux webserver and it has cPanel

Calon
31-08-2008, 10:28 PM
Its a Linux webserver and it has cPanel
CentOS?

habtasia
31-08-2008, 10:33 PM
O, sorry, It is CentOS and my firewall is Basic IPTables

Recursion
01-09-2008, 11:28 AM
nano /etc/sysconfig/iptablesthen add to the bottom:


iptables -I INPUT -p tcp --dport 10026 -j ACCEPTChange INPUT to OUTPUT if its going FROM your server, others, if its too your server leave it as INPUT. It may be UDP, if it is change the tcp bit to udp.

You may need to restart IPTables.

EDIT: Just found this great thing; http://www.liniac.upenn.edu/sysadmin/security/iptables.html

habtasia
01-09-2008, 12:34 PM
Thanks for that, +rep

fweggy
01-09-2008, 12:36 PM
what is SSH?

Recursion
01-09-2008, 12:38 PM
SSH - Secure Shell.

Its a secure way of sending commands to a server basically.

http://en.wikipedia.org/wiki/Secure_Shell (http://en.wikipedia.org/wiki/SSH)

habtasia
01-09-2008, 12:43 PM
what is SSH?

SSH stands for Secure Shell Host

It is used for editing the server configuraion and files

Use the link Tawm said above

fweggy
01-09-2008, 12:45 PM
Thanks for telling me all :)

habtasia
01-09-2008, 12:52 PM
Its ok :)

Want to hide these adverts? Register an account for free!