Re: Configure SSH -command

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

 



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@xxxxxxxxx> 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@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

--
Sent from my Android device with K-9 Mail. All tyopes are thumb related and reflect authenticity.
_______________________________________________
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