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
Related
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 download all text files from this webpage...
https://ftp.ncbi.nlm.nih.gov/dbgap/studies/phs001672/analyses/
How can I do that and place the download in a zip file?
Use the wget tool, use it to download all the files, then zip them yourself.
Or, you can mount that FTP server as a drive in Windows, and deal with them in Explorer however you want (e.g. drag and drop them to another folder on your computer and zip them). Or don't mount directly to Windows, but use a graphical FTP client to connect to that server and then copy the files down.
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 have a Ubuntu 12.04 machine that I can only access using SSH. On this machine I have two users and I want to limit the access to certain files to one of these users.
Basically I want that user to be able to access only its home directory and nothing more. I know that by removing the rx permissions to other home directories for others is one option but I wanted to know if there is another way, a configuration file where I can tell that my user can only have access to that folder.
Thanks.
chrooted jail is the answer.
Like: https://www.howtoforge.com/chrooted-ssh-sftp-tutorial-debian-lenny
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 7 years ago.
Improve this question
I've inherited a Linux server that had some ssh privileges setup on it to connect to other Linux servers. The thing is there is no documentation on where those privileges are stored and they are not setup consistently across all machines.
Is there a way to check what accounts and servers I can log into without a password on an existing machine?
As #lurker says, the permissions are maintained on the server. You need look through the /etc/ssh/ssh_known_hosts and ~/.ssh/known_hosts files on all your servers to find out which hosts can connect.
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 need to copy a configuration file from one linux account to another account. Since I do not have the permission I couldn't scp. So, how to yang and put the entire file across the accounts? File has 100s of lines so, it is not possible to copy, paste by mouse. I'm using putty.
If you can use PuTTY then you can use scp - both use the SSH protocol and require a user login.
Since you are comfortable using PuTTY, try using PSCP, which implements the scp linux command with a GUI. Use the same credentials as you do for PuTTY.
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