patrickpeng2091 / lsyncd

Automatically exported from code.google.com/p/lsyncd
GNU General Public License v2.0
0 stars 0 forks source link

Change port SSH in config lsyncd #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, 
I want to change port SSH for running lsyncd. 
Because by default, lsyncd uses only port 22. 
This is my output : 
lsyncd /etc/lsyncd.conf
14:18:39 Normal: recursive startup rsync: /home/ -> [user]@[IP]:/home/user/sync/
ssh: connect to host [IP] port 22: Connection refused

Original issue reported on code.google.com by tuant...@gmail.com on 16 Jun 2011 at 9:14

GoogleCodeExporter commented 9 years ago
Because my server uses other port for SSH. So I want to lsyncd  change port to 
connect server. 

Thank in advance for all helps! 
Best regards,
Tuan

Original comment by tuant...@gmail.com on 17 Jun 2011 at 5:55

GoogleCodeExporter commented 9 years ago
add your server setup to ~/.ssh/config

e.g.

host HOSTNAME
  User USERNAME
  Port 1234

see man ssh_config

Original comment by c.pol...@gmail.com on 3 Jul 2011 at 1:24

GoogleCodeExporter commented 9 years ago
I'll add this to Lsyncd but later than 2.0.5, since I want to rework the 
interface for configuration the tools Lsyncd calls, like /usr/bin/ssh

Original comment by axk...@gmail.com on 18 Aug 2011 at 1:56

GoogleCodeExporter commented 9 years ago
Your Issue has been moved to https://github.com/axkibe/lsyncd/issues

Original comment by axk...@gmail.com on 16 Nov 2011 at 3:58