Change SSH Port

Sep 24, 2007

I decided to change my SSH port. I red an Article about it.

Quote:

At command prompt type: pico /etc/ssh/sshd_config
Scroll down to the section of the file that looks like this:
Code:
#Port 22
#Protocol 2, 1
#ListenAddress 0.0.0.0
#ListenAddress ::

Uncomment and change
#Port 22
to look like
Port 5678 (choose your own 4 to 5 digit port number (49151 is the highest port number)
Uncomment and change

#Protocol 2, 1
to look like
Protocol 2
Save file and restart SSH

And I do all step. I change Port 22 to port 8443 . But Now I cannot loging to root via port 8443 . WHy?

How can I change this port to 22.

View 13 Replies


ADVERTISEMENT

Email Server Port- How To Change/add Port For SMTP

Feb 19, 2008

Currently I am using Linux + cPAnel and using the port 25 for email sevrer. Currently we facing 1 problem is, some user's ISP is not support port. May I know how can I add additional port into server and allow users to send mail by different port?

View 1 Replies View Related

How Change Ssh Port

Apr 17, 2009

i want to changing my ssh port from 22 to other .

so i have edit ssh_config and change 22 to for example 9000 .

and add 9000 in TCP_IN and TCP_OUT on my csf Config and delete 22 from them
and restart ssh .

but my ssh isnt login with 9000 and no effect .

View 6 Replies View Related

Change Port

May 14, 2007

i have a few windows xp running IIS in a LAN.

i have a static IP from my current ISP.

is there any way that i can have all these 7 machine to work with individual domain names

eg:

server 1 = demo1.com
server 2 = demo2.com
.
.
.

any way to have this work?

View 2 Replies View Related

Change FTP Port On APF Firewall

Jul 3, 2008

Is it possible to change the port of ftp, similarly to what you can do with SSH?

View 13 Replies View Related

Change The Default Port Of Vnc Server

Feb 11, 2008

I was wondering if I could change the default port of vnc server and how to do so?

What is the default port for vncserver server anyway? Is it 5900?

View 8 Replies View Related

Change Exim Smtp Port To 26

May 26, 2007

should i need to edit /etc/services and /etc/exim.conf?

View 3 Replies View Related

How To Change Tomcat Default Port (8080)

Nov 1, 2009

My app needs to be viewed using :8080 behind the domain. I want it be viewable without using adding any port behind. I've research on google and many said about edit the server.xml file but the problem is I can't located the file no mater what

root@kohproxy [~]# find -name server.xml
root@kohproxy [~]#

View 5 Replies View Related

Plesk 12.x / Linux :: How To Change Nginx Port

Feb 3, 2015

I need changing the nginx port. I've followed various threads and have created a custom nginxDomainVirtualHost.php file at: /usr/local/psa/admin/conf/templates/custom/domain, while the website indeed moves to the port I have set, a second nginx thread starts at port 80 and takes over in it's place.

I need to put varnish at port 80 and cannot do so until all services relinquish control on port 80.

Followed clues here: [URL] ....

some here: [URL] .....

Turn's out to be able to change the nginx port to a non-standard port you need to edit 6 files

nginx.php
nginxDomainForwarding.php
nginxDomainForwardingIpDefault.php
nginxDomainVhost.php
nginxDomainVhostIpDefault.php
nginxWebmail.php

For the time being i disabled SSL support for my test domain as I didn't need it. The line you need to look for the in above files is:

Code:

$VAR->server->nginx->httpPort

So the line would finally become from this:

Code:

<?php echo $VAR->includeTemplate('server/nginxVhosts.php', array(
'ssl' => false,
'frontendPort' => $VAR->server->nginx->httpPort,
'backendPort' => $VAR->server->webserver->httpPort,
)) ?>

to this:

Code:

<?php echo $VAR->includeTemplate('server/nginxVhosts.php', array(
'ssl' => false,
'frontendPort' => "8888",
'backendPort' => $VAR->server->webserver->httpPort,
)) ?>

To get this to work you'll need to create a custom directory at: /usr/local/psa/admin/conf/templates

And copy the files over from the root of /usr/local/psa/admin/conf/templates/default

View 1 Replies View Related

Plesk 12.x / Linux :: Change Port Access To Subdomain?

Feb 11, 2015

I have to change what file and how to modify it to allow only one subdomain to have access through port 8015 and not using port 80?

View 7 Replies View Related

Plesk 11.x / Windows :: Change Panel Default Port 8443

Jan 23, 2014

I have a Windows VPS with Plesk panel. Windows Server 2008 R2 with plesk panel version 11.5.30.

I tried to change the default plesk panel port (8443) to eg (1234) without any success.

The steps i followed are the following:
1) Firewall -> Inbound rule -> allow for port 1234
2) Firewall, Disable inbound rule for port 8443
3) IIS, PleskControlPanel, Bindings: changed binding from 8443 to 1234.

Now i type on browser: [URL] .... and while its loading after some seconds redirects me to [URL] ...

View 6 Replies View Related

Plesk 12.x / Linux :: Change Control Panel Url Port (8443 To 9859)?

Apr 9, 2015

How change control panel url port (8443 to 9859)?

View 15 Replies View Related

Apache :: Listen On Port 8080 For IPv4 And On Port 80 For IPv6?

Aug 8, 2013

I'm runnung a server with Apache2 (Apache/2.2.16 (Debian 6.0))

I would like Apache2 listen on port 8080 for IPv4 and on port 80 for IPv6.

This is what I have now:

/etc/apache2/ports.conf

View 4 Replies View Related

Did Port 80 Port To 7080, But Not Working When Login

Jun 21, 2009

I have an office internal website and I opened a port in the gateway of my office (7080) to this website (server )'s 80 port. That makes this website open to public as office has static IP. And then when I view the site from home . it's fine. But when I tried to login, the site is using a pop-up, I guess it's http authentciation, login, I was redirected to a url without my port number any more, that stops my access to the site as obviously I would.

How can I keep my connection/port number ...?

View 2 Replies View Related

Giga Port Vs Mega Port

Jun 18, 2008

about the NIC and switch,

there are giga port vs mega port,

in your experience,do they really be different?

View 14 Replies View Related

Changed SSH Port - How To Add Extra Port To APF

Jun 10, 2007

I recently changed my SSH port, but locked myself out when my APF firewall was installed.

Where would I got to add a custom port inside the APF's config file?

View 3 Replies View Related

Plesk 12.x / Linux :: Change Plan Via WHMCS Causes Dedicated IP To Change To Shared

Feb 21, 2015

I have a client on a dedicated IP, today we needed to downgrade the web hosting plan. As the web hosting plan puts users on a default shared IP, this plan change also changed the dedicated IP to the shared one causing some propagation issues for a small period of time.

I have contacted WHMCS about this asking if they had a way of changing the clients plan but keeping the IP address intact as this could lead to some very undesirable outcomes. They explained that it is not their fault and to contact Parallels.

I know I can change the plan directly in Plesk however by initiating the plan change via WHMCS, everything is automated.

View 1 Replies View Related

Change Host, Change Domain And Getting Search Engines Up To Speed

Feb 5, 2008

Has anyone helped clients transition from one domain to another? Maybe dissolving a partnership or renaming their company... so a new domain name has been registered and a new website created.

2 Issues:

#1 Using .htaccess 301 redirect
We used the following command line in their old website's htaccess file

Redirect 301 / [url]

The goal was to get people try to visit any page of their old website (i.e. OldWebsite.com/contact.html) redirected to their new website (i.e. NewWebsite.com/contact.html). Isn't that supposed to change the address bar's URL, too? For some reason, I visit their old site and I seem to be redirected to their new website but the address bar still has their old domain name? Something is going on???

#2 Having their new company name for 2 years now. People can enter her new company name in Google, MSN or Yahoo. Her new company name appears in the search results but has the old domain name associated with it. We are trying to get rid of any reference to that old domain name? What's the easiest way to do this? So what people see in search engines is:

New Company
Short Meta Description
www.OldDomain.com

What steps did I miss in this transition?

What steps do I have to take on their old website/old web server to control it's appearance on search engines and make sure people get to the new website?

View 2 Replies View Related

FTP Only On Port 21

Apr 23, 2008

I am using proftpd...How do i instruct that the server don't listen on high ports 49152-65534 but only to 21?

The reason is because my client's firewall setup is very strict and i need to give a good reason to open those high ports. Right now, i can ftp to port 21 only but can't do nothing more than that coz the higher ports are blocked.

View 1 Replies View Related

What's My SSH Port

Jun 24, 2009

i now have root access at a site i manage and the previous admin has set up a different SSH port.

I think this because i get " Connection Refused " and that user has access for SSH.

When restarting my SSH services i recive;

Quote:

sshd has failed, please contact the sysadmin.

And from looking that error up it means the port has been changed.

So i have WHMC access and all other root passwords etc, but how can i find out the port?

View 13 Replies View Related

10 MB Port Or Is It

Nov 5, 2009

Bought New VPS recently , it suppose 10MB unmetered .. when Download Big files thru SSH , the Speed Never Exceed 2MB, always 2mb or less ..

i thought i get 10mb, from wht i understood when say 10mb unmteret ..

how to make sure if i'm on 10 mb unmetered or not .. i thought simple just download some big file from ssh and see wht speed ..

View 9 Replies View Related

Ssh Port

Nov 3, 2008

I have cpanel running on a centos box and I want to change the ssh port from (22) the default port to something new i get 13000 login add temps a day. How do i do this i have root access

View 11 Replies View Related

Port 111

Apr 15, 2007

is it safe to keep the port 111 open or what?

i'm using CentOS 4.x

View 5 Replies View Related

What Port Is SSH Set To

May 15, 2007

I am having my ded server disconnected in less than 2 hours if I dont delete a bad website off my dedicated server (I run a free hosting website on it...i know! I know!)

Anyways I need to login to ROOT and manually take this website off the server, which I have NO IDEA how to do anyways, but I need the SSH port to do so and I HAVE NO IDEA what it is!

How do I find this information out?

View 9 Replies View Related

Port Forwarding A VPS?

Jun 27, 2008

I'm a bit new to this, and I wanted to host my server on a VPS. I tried connecting, but that just didn't work. Do I need to portforward the VPS? Sorry, Like I said, I'm a bit new.

View 6 Replies View Related

Port 1189 On VPS

Apr 16, 2009

I know this is a bit of an odd question but I have a VPS which has port 1189 open. Is it normal by default to have this port listening on a OpenVZ VPS under HyperVM? or is this something a little concerning? Never noticed it before, just checking I don't want any illegal applications being hosted on my server by clients.

It's most probably nothing to be concerned about, just wanted to double check.

View 3 Replies View Related

Forward IP Port?

Oct 13, 2007

I would like to know on how to forward specific IP with port to localhost or any IP by using iptables ? For example i would like to forward for port 25 from IP A to IP B, Currently i'm doing a test with my firewall and i'm very blur with iptables thingy.

View 2 Replies View Related

What Is Port Forwarding?

Apr 18, 2006

what is port forwarding?

View 2 Replies View Related

Port 80 Request To Itself...?

Jun 2, 2009

I have a script that needs to make a port 80 request to itself and it seems that there is something blocking that request. where should i look to correct this problem?

View 14 Replies View Related

CSF Unblock Port?

Mar 9, 2008

OK, This is killing me, can someone tell me how to unblock ports 7000-9000 in ConfigServer (CSF) for my whole server? I need them unblocked for WHMSonic, and all my admins are off for the weekend so I really need some help.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved