Skip to content

Magenaut

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

ssh

What does the Broken pipe message mean in an SSH session?

August 11, 2022 by Magenaut

Sometimes my SSH session disconnects with a Write failed: Broken pipe message. What does it mean? And how can I keep my session open?

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

Get SSH server key fingerprint

August 11, 2022 by Magenaut

Is there a way to programmatically obtain a SSH server key fingerprint without authenticating to it?

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

rsync all files of remote machine over SSH without root user?

August 11, 2022 by Magenaut

I have this command to backup a remote machine. The problem is that I need root rights to read and copy all files. I have no root user enabled for security reasons and use sudo the Ubuntu way. Would I need some cool piping or something to do this?

Categories Q&A, Unix & Linux Tags backup, rsync, ssh, ubuntu Leave a comment

How can I maintain open ssh connection and use it from shell scripts?

August 11, 2022 by Magenaut

Currently i invoke the following:

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

Ssh login hook?

August 11, 2022 by Magenaut

Is there a way to run a script/command every time a user connects using ssh? Can it be configured globally (i.e run the script when any user login)?

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

How do I work with GUI tools over a remote server?

August 10, 2022 by Magenaut

I have an Ubuntu server running on EC2 (which I didn’t install myself, just picked up an AMI). So far I’m using putty to work with it, but I am wondering how to work on it with GUI tools (I’m not familiar with Linux UI tools, but I want to learn). Silly me, I’m missing the convenience of Windows Explorer.

Categories Q&A, Unix & Linux Tags gui, linux, remote, ssh, ubuntu Leave a comment

How can I run a script immediately after connecting via SSH?

August 10, 2022 by Magenaut

I started to ask this question but answered it while I had it open. I’m going to post this question, follow it up with my solution and leave it open to other potential solutions.

Categories Q&A, Unix & Linux Tags environment-variables, ssh, tmux 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

ssh_exchange_identification: Connection closed by remote host (not using hosts.deny)

August 10, 2022 by Magenaut

I’m not using hosts.allow or hosts.deny, furthermore SSH works from my windows-machine (same laptop, different hard drive) but not my Linux machine.

Categories Q&A, Unix & Linux Tags key-authentication, linux, ssh Leave a comment

How to ssh to remote server using a private key?

August 10, 2022 by Magenaut

I have two servers. Both servers are in CentOS 5.6. I want to SSH from Server 1 to Server 2 using a private key I have (OpenSSH SSH-2 Private Key).

Categories Q&A, Unix & Linux Tags openssh, ssh Leave a comment
Older posts
Newer posts
← Previous Page1 … Page4 Page5 Page6 … Page20 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