Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

scp

How to copy a file to a remote server in Python using SCP or SSH?

August 18, 2022 by Magenaut

I have a text file on my local machine that is generated by a daily Python script run in cron.

Categories Python, Q&A Tags automation, python, scp, ssh Leave a comment

What’s the difference between SFTP, SCP and FISH protocols?

August 11, 2022 by Magenaut

I used to think SCP is a tool to copy files over SSH, and copying files over SSH is called SFTP, which is itself a synonym to FISH.

Categories Q&A, Unix & Linux Tags fish-protocol, scp, sftp, ssh Leave a comment

Autocomplete server names for SSH and SCP

August 11, 2022 by Magenaut

I have a few servers configured in ~/.ssh/config, such as alpha and beta. How might I configure Bash such that the commands $ ssh alTab and $ scp file.tgz alTab autocomplete the names of the configured servers?

Categories Q&A, Unix & Linux Tags autocomplete, bash, scp, ssh Leave a comment

How to execute multiple commands remotely on few servers?

August 11, 2022 by Magenaut

I am trying to automate these steps so that I don’t need to do this on every machines manually. I need to install latest app server software (abc.tar.gz) on all the unix boxes.

Categories Q&A, Unix & Linux Tags bash, linux, scp, shell, sudo Leave a comment

Why does SCP hang on copying files larger than 1405 bytes?

August 10, 2022 by Magenaut

I’m trying to copy a file from one of my local machines to a remote machine. Copying a file with size upto 1405 bytes works fine. When I try to scp a larger file, the file gets copied but the scp process hangs up and doesn’t exit. I have to hit Ctrl-C to return back … Read more

Categories Q&A, Unix & Linux Tags ftp, networking, scp Leave a comment

How can I download a file from a host I can only SSH to through another host?

August 10, 2022 by Magenaut

I want to download files from my office computer to my laptop.

Categories Q&A, Unix & Linux Tags scp, ssh Leave a comment

Move file to another user’s home directory (without sudo)?

August 10, 2022 by Magenaut

I have a couple of files that I want to move to another’s user home directory. I don’t have permissions to write to that user’s home directory, but I know his password.

Categories Q&A, Unix & Linux Tags mv, permissions, scp Leave a comment

scp from one remote server to another remote server

August 10, 2022 by Magenaut

I have one big file on server one and I want to copy it to server two using scp. I have the keys setup properly and I can ssh/scp to both servers from my desktop.

Categories Q&A, Unix & Linux Tags debian, scp Leave a comment

Problem in secure copying (scp) filenames with spaces

August 8, 2022 by Magenaut

I am trying to copy files using secure copy(scp). I am trying to execute the following command but I get error due to the space in the absolute path of the location of the directory.

Categories Q&A, Unix & Linux Tags command-line, linux, scp Leave a comment

How do I copy a file with scp with special characters?

August 8, 2022 by Magenaut

I am trying to copy a file that has colons and periods, e.g., with:

Categories Q&A, Unix & Linux Tags scp Leave a comment
Older posts
Page1 Page2 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress