Configuring SSH as a service on Windows Server for Remote Command Executions from another Windows Server/System without Password prompt and/or using public/private keys Authentication

Primarily involves: Install on the system on which you want to run the commands remotely Installing CygWin Within Cygwin, install SSH complete Then Run “ssh-host-config” Choose “Should privilege separation be used” yes Start `net start sshd’   Install on system from which you want to do a remote command invocation: Installing CygWin Within Cygwin, install SSH complete ssh-keygen -t rsa -C username@localsystem Copy the key from /home/username/.ssh/id_rsa.pub Updated that in /home/username/.ssh/known_hosts Now ssh username@destinationsystem should simply logon you to the remote system  

Read more

Configuring Linux Ubuntu system to communicate with a new Domain Controller in the Active Directory via Samba. | FIX: Linux “No logon servers” error

Step#1: Ensure that the Linux system is able to connect to the new AD DC server by name and IP address.  A quick setup would involve, configuring the appropriate entries in /etc/hosts file Your new DC is UKDC01.PORD.LAN with IP-address 172.21.5.201 root@proxy01:~# cat /etc/hosts 127.0.0.1          localhost 172.21.5.190    proxy01.prod.lan proxy01 172.21.5.200    USDC01.PROD.LAN USDC01 172.21.5.201    UKDC01.PORD.LAN UKDC01 # The following lines are desirable for IPv6 capable hosts ::1     ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts root@proxy01:~# root@proxy01:~# ping UKDC01 PING UKDC01.PORD.LAN (172.21.5.201) 56(84) bytes of data. From proxy01.prod.lan (172.21.5.190) icmp_seq=1 Destination Host Unreachable From proxy01.prod.lan (172.21.5.190) icmp_seq=2 […]

Read more