[Gluster-users] Configure SSH -command
Maurya M
mauryam at gmail.com
Sun Mar 24 11:35:53 UTC 2019
not sure where is the syntax error:
gluster volume geo-replication vol_041afbc53746053368a1840607636e97
xxx.xx.xxx.xx::vol_a5aee81a873c043c99a938adcb5b5781 config ssh-command
'/usr/sbin/sshd -D -p 2222'
[2019-03-24 11:33:25.855839] E
[syncdutils(monitor):332:log_raise_exception] <top>: FAIL:
Traceback (most recent call last):
File "/usr/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 311, in
main
func(args)
File "/usr/libexec/glusterfs/python/syncdaemon/subcmds.py", line 50, in
subcmd_monitor
return monitor.monitor(local, remote)
File "/usr/libexec/glusterfs/python/syncdaemon/monitor.py", line 427, in
monitor
return Monitor().multiplex(*distribute(local, remote))
File "/usr/libexec/glusterfs/python/syncdaemon/monitor.py", line 386, in
distribute
svol = Volinfo(slave.volume, "localhost", prelude)
File "/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py", line 860,
in __init__
vi = XET.fromstring(vix)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in
_raiseerror
raise err
ParseError: syntax error: line 1, column 0
On Sun, Mar 24, 2019 at 4:58 PM Maurya M <mauryam at gmail.com> wrote:
> Hi Andrey,
> For some reason the sshd_config Ports pararmeter is not allowing to
> change when i restart the ssh service.
> so following this
> https://stackoverflow.com/questions/27525456/glusterfs-geo-replication-on-non-standard-ssh-port/55303479#55303479
> tried config options as described.
>
> i did try you usuggestion config ssh-command '/usr/sbin/sshd -D -p 2222'
> ,
> geo-replication command failed
>
> thanks,
> Maurya
>
> On Sun, Mar 24, 2019 at 4:39 PM Andrey Volodin <andrevolodin at gmail.com>
> wrote:
>
>> normally you should be able to edit the config file /etc/ssh/sshd_config
>> However, at the page
>> https://serverfault.com/questions/826893/how-to-temporarily-run-a-secondary-ssh-server-on-a-separate-port
>> I can see a one-time run solution as /usr/sbin/sshd -D -p 22200
>>
>> On Sun, Mar 24, 2019 at 11:00 AM Maurya M <mauryam at gmail.com> wrote:
>>
>>> Hi All,
>>> Have tried config the ssh-command to use -p 2222 using this config
>>> option:
>>>
>>> config ssh-command 'ssh -p 2222' , but failed, do you know the correct
>>> syntax , also where can i check for failed georeplication command logs.
>>>
>>> TIA,
>>> Maurya
>>>
>>>
>>> _______________________________________________
>>> Gluster-users mailing list
>>> Gluster-users at gluster.org
>>> https://lists.gluster.org/mailman/listinfo/gluster-users
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20190324/467dcf36/attachment.html>
More information about the Gluster-users
mailing list