[Gluster-users] Configure SSH -command

Andrey Volodin andrevolodin at gmail.com
Sun Mar 24 12:04:27 UTC 2019


you may find some reference here: http://fatphil.org/linux/ssh_ports.html

On Sun, Mar 24, 2019 at 11:28 AM 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/8023100f/attachment.html>


More information about the Gluster-users mailing list