Tag Info

New answers tagged

0

I think this command will do the trick ssh user@host "cd /path/to/data/;tar zcf directory_name" | tar zxf Now, first of all you have to execute this command from the target host. And details to be explained: ssh user@host will open connection to host machine, from where the data is to be transfered. cd /path/to/data will take to the directory where ...


0

If I read your question correct you are not able to ssh from Foo to Bar, otherwise it would be as easy as: win> ssh -L 2210:bar:22 user@foo Where you probably replace ssh with PuTTY and setup the correct tunnel, but this will hopefully illustrate the way you should set it up... Then you can start a ssh session to bar using: win> ssh -p 2210 ...


4

The most common issue is to forget to properly set permissions: chmod -R 600 ~/.ssh


1

Try this: With the same user create your .pub file. user:~$ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/user/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/user/.ssh/id_rsa. Your public key has been saved in ...


1

On Linux, install and run the SSH daemon sshd (the package is openssh-server in most distributions). Then from Windows download and use WinSCP to connect to the Linux machine and transfer your files in both directions. Or - to do this the other way around - install the SSH server freeSSHd on Windows, then from Linux run the command scp ...


0

Setup a SMB-share on your Windows host. Install smbclient on your Linux host (on Debian you can do it with sudo apt-get install smbclient). Connect to your SMB-share with: smbclient //NETBIOS_NAME/RESOURCE -I IP.ADD.RE.SS -N And finally download a file with: get (filename)


0

On SuperUser there is an alternative posted by Sehe: http://superuser.com/questions/297342/rsync-files-newer-than-1-week rsync -RDa0P --files-from=<(find sourcedir/./ -mtime -7 -print0) . user@B:targetdir/



Top 50 recent answers are included