Skip to content

Magenaut

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

ssh

How does ssh prompt for a password when all input and output is redirected?

August 9, 2022 by Magenaut

I don’t actually need to run the command below, and I am aware of ssh keys if I did want to log in without typing a password. I would just like to know how ssh seems to circumvent my file redirection.

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

Convert Amazon .pem key to Putty .ppk key Linux

August 9, 2022 by Magenaut

I have generated and downloaded a private .pem key from AWS. However, to use Putty in order to connect to the virtual machine, I must have that key in .ppk format. The process of conversion is detailed in roughly 20 lines here:

Categories Q&A, Unix & Linux Tags amazon-ec2, linux-mint, putty, security, ssh Leave a comment

My server is constantly being attacked

August 9, 2022 by Magenaut

Instal fail2ban – it monitors log files and temporarily or persistently bans
failure-prone addresses by updating existing firewall rules (iptables).

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

SSH inside SSH fails with “stdin: is not a tty”

August 9, 2022 by Magenaut

I’m trying to connect to machine one with ssh and then connect to another machine two with ssh, but I get this error.

Categories Q&A, Unix & Linux Tags command-line, ssh, terminal Leave a comment

Trying to SSH into server and getting key_load_public: No such file or directory error

August 9, 2022 by Magenaut

I created a passwordless ssh connection to my remote server from my mac. It worked(!) and then I closed my terminal, re-opened it, tried again, and got the following (username, my_ip are not real):

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

Why does my X11 forwarding attempt fail with “connect /tmp/.X11-unix/X0: No such file or directory”?

August 9, 2022 by Magenaut

On my local machine, I run:

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

How do I force a user to change a password at the first time login using ssh?

August 9, 2022 by Magenaut

I’m trying to force a newly created user to change a password at the first time login using ssh. For security reasons I want to give him a secure password until he logs in for the first time. I did the following so far:

Categories Q&A, Unix & Linux Tags bash, linux, login, pam, ssh Leave a comment

What is the difference between an OpenSSH key and PuTTY key?

August 9, 2022 by Magenaut

I’ve found that ssh-keygen (“ssh” package) produces different keys from puttygen (“putty” package).

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

How to execute a remote command and pass in local file as input?

August 9, 2022 by Magenaut

Is it possible to do this:

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

how to avoid ssh asking permission?

August 9, 2022 by Magenaut

We are attempting to speed up the installation of oracle nodes for RAC installation.
this requires that we get ssh installed and configured so that it doesn’t prompt for a password.

Categories Q&A, Unix & Linux Tags key-authentication, ssh Leave a comment
Older posts
Newer posts
← Previous Page1 … Page9 Page10 Page11 … 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