run a program on linux using data from another computer [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have some big data on a computer A.
Is it possible to run a program on another computer B using this data (using ssh or something?).

Of course it is possible. There are endless possibilities for working with data on a remote computer. Assuming that NFS and Samba are not available a few ways you can use ssh:
fish scp sshfs or sftp.
e.g.
scp user#host:/wrong/places/* /proc/self/fd/1 | grep love

Related

Download a file from a linux system to your home computer [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am ssh logged into a system. It is a remote system I am not in control of, but it has a directory with data I can work with. How do I download datasets from that linux system to my home computer?
Use SCP to securely transfer files between two Unix computers.
scp command usage :
scp [options] username1#source_host:directory1/filename1 username2#destination_host:directory2/filename2
Example:
To copy a file called rebels.txt from your home directory on empire.gov to a directory called revenge in your account on the computer deathstar.com, enter:
scp ~/rebels.txt dvader#deathstar.com:~/revenge
A detailed example can be found here:link

How to parse lines from a file on a FTP server without downloading it [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I want to parse a line from large files on a FTP server without downloading them, using Linux command line.
Something like this comes to mind:
wget <ftp_file> | grep <something_from_a_line>
Is there a way to do this?
Reading a remote file from a client machine implies that you download it (explicitly or implicitly). Otherwise you must find some way to connect onto the server and read the file locally on the server.

Is there a Raspberry Pi command for fetching files via SSH? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I'm in a team taking part in the Astro Pi competition. Our experiment uses AI to process satellite images - but that isn't relevant to the question.
I need a method for a Raspberry Pi to fetch a file from another Pi - rather like the scp command (secure copy) but that fetches a file as opposed to sending one. Is there a command for this?
Thanks!
The same scp can do that.
Just use the following syntax:
$ scp username#from_the_other_Pi:/remote/directory/file /local/directory/file
And you're done!

Installing a script file in 1200 Linux servers [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I need put a script file and a line in crontab in 1200 Linux servers.
How could I do this task automatically ?
Many many options!
write a script that connects via SSH to each of those servers, and have it create your script file & modify crontab!
use Ansible!
use SaltStack!
use < some other configuration management framework >!
Seriously though, are you suggesting you are in charge of 1200 servers and the usual procedure of doing, well, anything is by hand? Flabbergasting!

Detect incoming ssh connection [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I'm working on a network with many Linux machines.
In one of them I have a file that I suspect was pushed by another machine.
The machines can access each other using ssh connections.
Is there anyway I can tell which machine pushed the file?
I tried looking for ssh logs but the /var/log/secure/ directory doesn't exist.
Depending on the distro and your logging settings, you may have some luck with /log/auth.
Try grep sshd /var/log/auth.log
Depends on your distro, you can check following files from your distro.
/var/log/secure
/var/log/auth.log
/var/log/syslog
/var/log/daemon.log

Resources