[Gluster-users] Configure SSH -command

Jim Kinney jim.kinney at gmail.com
Sun Mar 24 12:45:33 UTC 2019


If the os is using selinux, a policy change is needed to allow the ssh daemon to connect to the new port. Look at audit2allow for a solution.

On March 24, 2019 8:04:27 AM EDT, Andrey Volodin <andrevolodin at gmail.com> wrote:
>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
>>>
>>>

-- 
Sent from my Android device with K-9 Mail. All tyopes are thumb related and reflect authenticity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20190324/1f143144/attachment.html>


More information about the Gluster-users mailing list