Skip to main content

All Questions

0 votes
1 answer
162 views

Which protocol needs rsync to enable checksum calculation through source and destination server?

I execute rsync with the --checksum option on the destination server as follows: rsync -av --bwlimit=800000 --delete --checksum /mnt/disks/SMB_SRC/ /mnt/user/dst But as I mounted the source server as ...
mgutt's user avatar
  • 507
3 votes
1 answer
4k views

Script for sending commands via ssh and not wait till and leave the terminal

I have sevaral computers, combined into network with Ethernet switch. All are running Fedora server and have connection to Internet. What I need is a script, which: Connects to all nodes from list ...
Araneus0390's user avatar
1 vote
0 answers
2k views

Remote ssh script execution with EOI or EOSSH adding dots in front of commands

Here the first block was running, second block was not. And the problem was EOI considers spaces as dots, I think. But, it does not consider tab as dot. Making no indentation worked for me. But is ...
Rakib Fiha's user avatar
-1 votes
2 answers
684 views

how to get Ip add of ssh user who is currently running a specific process?

An ssh server has a process that is started by a user who is logged in through ssh. I need to find a way to get the IP address of this user who executed a specific program "chrome for example" through ...
Sudo Gsxr's user avatar
1 vote
1 answer
207 views

ssh remote run - problems

This will print 4 lines: ssh root@remote_ip "service iptables restart" Output: iptables: Flushing firewall rules: [ OK ] iptables: Setting chains to policy ACCEPT: filter [ OK ] iptables: ...
user avatar
0 votes
2 answers
269 views

.sh query - running a ssh task

This is on a macintosh but it's still unix command. I am running some computers on a network that have file sharing turned off because of security so the only way to connect is via ssh. I need to ...
Laurence Reeves's user avatar
4 votes
1 answer
1k views

wait for autossh connection to complete

I'm trying to create a script that runs a few commands that take a long time to execute and require a constant connection, but autossh user@server wait $! #or wait ${!} commandA commandB doesn't ...
jtzero's user avatar
  • 143