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

Installing Citrix XenTools 6.2 on CentOS Linux release 6.0 (Final) from command line

Installing Citrix XenTools 6.2 on CentOS Linux release 6.0 (Final) from command line Mount the Xe-Tools.iso from XenServer SSH to the CentOS Linux system Mount the Xen Tools: cd /mnt mkdir xe-tools mount /dev/cdrom /mnt/xe-tools verify the xe-tools contents:   [root@centOSSys1 /]# ls /mnt/xe-tools AUTORUN.INF              citrixguestagentx86.msi  citrixvssx86.msi         citrixxendriversx86.msi  dotNetFx40_Full_x86_x64.exe  installwizard.msi  README.txt citrixguestagentx64.msi  citrixvssx64.msi         citrixxendriversx64.msi  copyright.txt            EULA_DRIVERS                 Linux              xenlegacy.exe [root@centOSSys1 /]# ls /mnt/cdrom/Linux/ debian-lenny  versions.deb                             xe-guest-utilities_6.2.0-1120_i386.deb    xe-guest-utilities-xenstore-6.2.0-1120.i386.rpm install.sh    versions.rpm                             xe-guest-utilities-6.2.0-1120.i386.rpm    xe-guest-utilities-xenstore-6.2.0-1120.x86_64.rpm rhel4x        xe-guest-utilities_6.2.0-1120_amd64.deb  xe-guest-utilities-6.2.0-1120.x86_64.rpm  xe-linux-distribution [root@centOSSys1 /]# Run the install.sh script: /mnt/xe-tools/Linux/install.sh [root@centOSSys1 ]# ./install.sh Detected `CentOS Linux release 6.0 (Final)’ (centos version 6). The following changes will be made to […]

Read more