Skip to content

Magenaut

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

ssh

How can I ssh to a remote server with an automated password and no key?

August 8, 2022 by Magenaut

I have a remote server. I planned to use public keys to connect over ssh without typing the password but the remote system rejects public key authentication.

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

Remote desktop (KDE) over SSH reverse tunnel

August 8, 2022 by Magenaut

I have a reverse ssh tunnel through a middleman server set up and working. I’m running Kubuntu 12.04 here and on the remote machine.

Categories Q&A, Unix & Linux Tags kde, remote-desktop, ssh, ssh-tunneling, x11 Leave a comment

Give server access to Internet, via client connecting by SSH

August 8, 2022 by Magenaut

I can use my home computer A to connect by SSH to a server B where access to the external network is blocked. In other words, all requests to Internet from B throw an error: Network is unreachable. Can I redirect all these requests to pass through the computer A which has an unrestricted access to Internet?

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

Set some firewall ports to only accept local network connections?

August 8, 2022 by Magenaut

How do I set up the firewall on a system in a LAN so that some ports are only open to connections from the local area network, and not from the outside world?

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

ssh unable to negotiate – no matching key exchange method found

August 7, 2022 by Magenaut

I am trying to log in to my DSL router, because I’m having trouble with command-line mail. I’m hoping to be able to reconfigure the router.

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

Why does remote Bash source .bash_profile instead of .bashrc

August 7, 2022 by Magenaut

Bash Manual says:

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

ssh-add returns with: “Error connecting to agent: No such file or directory”

August 7, 2022 by Magenaut

ssh-add alone is not working:

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

redirect sound (microphone) via ssh, how to telephone via ssh?

August 7, 2022 by Magenaut

How can I redirect the microphone of one computer to listen to it on another computer via ssh? Which is the right device or which is the right command line?

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

Compress a directory using tar/gz over SSH to local computer?

August 7, 2022 by Magenaut

I’d like to essentially tar/gz a directory on a remote machine and save the file to my local computer without having to connect back into my local machine from the remote one. Is there a way to do this over SSH? The tar file doesn’t need to be stored on the remote machine, only on the local machine. Is this possible?

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

How to test whether SSH has passwordless access without prompting for password?

August 7, 2022 by Magenaut

I’m writing an unattended shell script that sets up a new server. Since I may run it multiple times, I want to check whether passwordless SSH access has already been set up. A command like

Categories Q&A, Unix & Linux Tags shell-script, ssh Leave a comment
Older posts
Newer posts
← Previous Page1 … Page14 Page15 Page16 … 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