Re: Configure SSH -command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> wrote:
Hi Andrey,
 For some reason the sshd_config Ports pararmeter is not allowing to change when i restart the ssh service.

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@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux