Rsync With Non Default Port
Jun 6, 2007
I am transfering some files from one server to another. Both server runs SSH on port 3333.
Quote:
rsync -a -v -e ssh --port=3333 --progress --timeout=0 -e ssh /var/cpanel/packages root@server42.hostname.com:/var/cpanel/
When i use this command, i get following error
Quote:
root@server40 [~]# rsync -a -v -e ssh --port=3333 --progress --timeout=0 -e ssh /var/cpanel/packages root@server42.hostname.com:/var/cpanel/
ssh: connect to host server42.hostname.com port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(453) [sender=2.6.9]
root@server40 [~]#
Why it says port 22 in error message ? I have specified --port=3333 in options.
Also i am able to connect to other server on port 3333
Quote:
root@server40 [~]# telnet server42.hostname.com 3333
Trying 72.9.145.200...
Connected to server42.hostname.com (72.9.145.200).
Escape character is '^]'.
SSH-2.0-OpenSSH_3.9p1
why rsync is not working?
View 8 Replies
ADVERTISEMENT
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
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
Feb 11, 2015
i'm running 12.0.18#34 on PCS dedicated server. i recently discovered that some of the default jails on fail2ban that is shipped with Plesk 12 were not working correctly. Let me explain what i mean. For instance, the plesk-panel jail. The logs were parsed correctly, the command was successfully appended in iptables list, the fail2ban log was updated. Still, the intruder was not blocked. I kept reading "already banned" on the fail2ban.log but actually there was no blocking.
After some checks, i found out that fail2ban default configuration states SSH as default blocking port.
that means, the block was working but only for ssh hits. thus the plesk-panel admin page hits were passing through.
since i added port=http,https on jail.local > plesk-panel and did it a restart on fail2ban service, only then did it start to actually block incoming hits.
I think this should be verified by programmers group and maybe include a fix in some future minor update.
View 1 Replies
View Related
Dec 30, 2014
Is it possible in migration manager set a non default RDP port?
View 1 Replies
View Related
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
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
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
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
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
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
Jun 9, 2009
I made some data backup on one of the backup servers using rsync. How can I restore it to the new server now?
My account is ready on new vps and all I need is pull the data back from backup server to new vps account.
I used this command previously
Quote:
rsync -avz -e ssh /home/user1 backupuser@backup.server.com:user1
View 7 Replies
View Related
Apr 9, 2009
i have two srevers one is Dedicated Server and the secound is for backup .
well , i login to the backup server and creat ftp account .
i wanna make the server save the weekly backup .
the backup path is /backup
the copmany of the backup server said "
To RSync your data to your backup server, type:
"rsync -av --progress -e ssh @"
this will put all the files in your home
directory..."
i dont know how to use this command on the Dedicated Server .
View 3 Replies
View Related
Aug 26, 2008
Is there anything better then rsync to replicate files (twice a day) on servers located in seperate datacenters?
Looking for more of a free to cheap solution though will also be interested in the higher end solutions later on.
View 9 Replies
View Related
Mar 6, 2007
I search over the forum as many members recommend rsync over the backup option builit in cPanel/WHM. May I know why cPanel/WHM's is not recommended?
View 4 Replies
View Related
Oct 4, 2007
Does rsync required to be installed on both servers for it to work? Can rsync work with ftp only on the remote server?
Can you guys list some typical rsync shell command to help me get started...
View 5 Replies
View Related
Dec 7, 2008
I am using BQbackup to auto backup my CPanel VPS and was wondering whether it is best to use CPanel's own backup service which automatically backs-up the vps daily or should I use the rsync script that bqbackup provides?
Which is easier to restore and more reliable?
View 3 Replies
View Related
Apr 12, 2009
Looking for an RSYNC tutorial, something that focuses on backing http data, exporting the databases then transferring offsite to a receiving rsync server once a week.
Something that's understandable and logical would be great, happy to work through over the next week and continue more in depth with it.
View 3 Replies
View Related
Aug 2, 2006
I have been trying to setup rsync on my server and following these instructions
http://www.bqbackup.com/setup.html
The problem is I keep getting errors.
On this step,
ssh-keygen -t rsa -N
I edited it and did ssh-keygen -t rsa --N becauseI got an error saying it need the '--' before the N.
So after getting through that part, I got these questions asked
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
I left the passphrase empty, and then when it asked where to save to, I just typed in 'rsa'. Then it gave me some fingerprint.
Then I get to the step,
# scp ~/.ssh/id_rsa.pub yourusername@yourusername.bqbackup.com:keys/server1
# ssh yourusername@yourusername.bqbackup.com mergekeys
But I get errors saying
-bash: cat~/.ssh/id_rsa.pub: No such file or directory
I dont get what I'm doing wrong. If somebody doesnt mind, can you please re-write the steps on getting this working, or maybe tell me where I am going wrong if the tutorial is correct?
View 4 Replies
View Related
Feb 13, 2007
Current, 2.6.3 came with my centos 4.4 cpanel server, I tried updating it to latest 2.6.9. However, when I type "rsync" it's pointing to 2.6.3 How can I remove the old version or reinstall over it?
View 8 Replies
View Related
Jul 8, 2007
one day later, if I run the following command again, the command is same as the one run by the first time.
rsync -avz username@IP:/home/asite/public_html/ /home/asite/public_html/
does it mean rsync will just check and copy the newer folders and files from the last copy?
View 6 Replies
View Related
May 5, 2009
I have a bit of a strange problem, I have an rsync command setup in the servers crontab and from the cron log it show it ran the command but the files don't copy to the backup server. If I take the rsync syntax and run it manually all the files copy across with no errors, but I can't figure out why the cronjob doesn't work properly.
View 8 Replies
View Related
Apr 25, 2009
I'm trying to configure rsync to backup my vps data to an rsync backup provider.
The problem that I am having is that each time I try to run rsync it prompts for the passphrase.
I did some reading and it seems (and maybe this is not correct), that in order to do unattended rsync (e.g. using cron), that you need to use a key that doesn't have a passphrase generated.
If this is the case, is it true that it's not a good idea to use a key that doesn't have a passphrase?
View 6 Replies
View Related
May 15, 2009
I got one of those cheap $10 servers from hostmds to use to backup my vps.
Know I just need to know how do I setup rsync to backup my vps nightly? Any links to good guides to do this would be great. I looked on google, but am hoping someobody knows a guide that is simple to follow.
View 5 Replies
View Related
Jul 17, 2009
I am in the process of setting up a cronjob so I can run rsync automatically every day.
But I want to know is it ok to exclude the following folders?
/home/.cpcpan/
/home/cpeasyapache/
/home/src/ <!--- This folder I made to put files in before I install
/home/MySQL-install/
/home/.cpan/
As from what I understand cPanel/WHM makes these folders, and there no user data in these folders
View 5 Replies
View Related
Apr 7, 2009
I have wrote a small script which copies file names which has name as *default* from backup to users main folder. It works fine with one folder but doesn't copy files from sub-folders.
it works with all the sub-folders as well?
HTML Code:
#!/bin/bash
for i in $(ls /var/cpanel/users)
do
rsync -vrplogDtH /backup/cpbackup/weekly/$i/homedir/public_html/*default* /home/$i/public_html
chown -R $i.$i /home/$i/public_html/*default*
done
View 2 Replies
View Related
Oct 28, 2008
FTP backups, doing RSYNC what is needed?
I have a linux box with pure-ftpd as FTP backup server. However, we want to explore/expand to RSYNC now.
Is there a package that allows RSYNC to be used for FTP users?
This is basically like what do FTP services like BQbackup use to allow RSYNC, etc.
View 3 Replies
View Related
Aug 8, 2008
i have two differnt server at two differnt datacenters,with same contant,runing under subdomain eg main domain is domain.com and subdomain is sub.domain.com both are same site,i used this to reduce server load and share request,but the problem iam haveing when update any stuff i need to update on both server it bit diffcult any way to update contant via rsync between the two servers?
View 6 Replies
View Related
Jan 17, 2008
I have two folders:
/misc
/misc-backup
how do I go about making /misc-backup a mirror of /misc correctly?
View 14 Replies
View Related