Execute Windows Commands from Linux using winexe. Connect from Linux to Windows without SSH

Winexe – is a software on Linux which uses RPC to run remote commands and might even come with your distribution's packages. It depends on Samba for running rpc commands Edit: even if your distro does not have it precompiled and you do not want to compile yourself, you should check out the Build Service … Continue reading Execute Windows Commands from Linux using winexe. Connect from Linux to Windows without SSH

Advertisements

Configure Passwordless SSH on Multiple Servers and Execute Commands on Multiple servers in Linux

1. On Server 1 (192.168.1.67) ssh-keygen -t rsa cd .ssh/ scp -r id_rsa.pub root@192.168.1.68:/root/.ssh/authorized_keys 2. On Server 2 (192.168.1.68) ssh-keygen -t rsa cd .ssh cat id_rsa.pub >> authorized_keys 3. Send Server 2 authorized key to Server 1 (192.168.1.67) scp -r authorized_keys root@192.168.1.67:/root/.ssh 4. Test from server 1 ssh root@192.168.1.68 Test from Server 2 ssh root@192.168.1.67 … Continue reading Configure Passwordless SSH on Multiple Servers and Execute Commands on Multiple servers in Linux