scp (ssh) failing after a few connections
I have port 22 on my Ubuntu Server open for ssh. I have a port forward setup on my gateway that forwards to this Ubuntu server on port 22.When doing consecutive scps, the connection always gets timed...
View ArticleCan't Use SSH Keys Unless Running SSH With Sudo
For some reason I'm unable to SSH from my Ubuntu 15.10 machine to a remote server using a private key if I run ssh without sudo.Server side config is fine. I have tested the private key from my Windows...
View ArticleSSH Permission denied (publickey)
I am trying to connect to a Linode (running Ubuntu 12.04 LTS) from my local machine (also running Ubuntu 12.04 LTS)I have created a private and public key on my local machine and copied my public key...
View ArticleIn 24.04.2, I have followed instructions for disallowing password...
How to disable password authentication in SSH in Ubuntu 24.04 (new socket based SSH)Disable password authentication in sshThis link shows up as a possible solution, but it is...
View ArticleAfter installing SELinux on AWS instance what should I set to allow SSH login?
Question After installing SELinux on an AWS instance what should I set to allow SSH login?Version Ubuntu 24.04 LTS.Background I had a working AWS instance but after I installed SELinux and activated it...
View ArticleWindows Terminal: "ssh: connect to host 12.3.4.56 port 22: Permission denied"
I have an unused PC that I turned into a server for Minecraft. I installed Ubuntu Server 20.04.4 LTS and set it up.I want to connect to my server with my Windows 10 PC using the Windows Terminal...
View Articlepdsh: how to run a commands that require root/sudo privileges
I have implemented a small beowulf cluster for testing purpose, all nodes with Ubuntu server 18.04.I have installed pdsh for running the same command on ssh at the same time on multiple node.ssh login...
View ArticleUbuntu server hacked. Recovering
I was cyber-attacked by someone from China and they managed to install Yam (crypto mining) on my Ubuntu 14.04 server.I managed to close their ssh access through the public IP. and I have remedied the...
View ArticlePermission denied (Public key). Ubuntu 22.04 Unable to SSH
I have installed Ubuntu 22.04 on Raspberry Pi 4 Model b with the file ubuntu-22.04.5-preinstalled-server-arm64+raspi.imgI used preinstalled version because with normal version I had no ethernet...
View ArticleScreen command doesn't work with SSH
I currently have a server running Ubuntu 22.04. I use it via SSH, and I made so it runs my minecraft server automatically with Cron.Because cron doesn't open a screen, I want it to open one so I can...
View ArticleSSH: StrictHostKeyChecking is set to no, but prompt still appears
I am trying to set up auto deploy from my script, which is ran through Travis CI, so I need to SSH into my server without any prompts.My deploy script looks like this:ssh ubuntu@123.123.123 -i...
View ArticleRSA keys not authenticating
Just trying to get a basic setup of openSSH going on an Ubuntu box to work remotely. Main issue: RSA keys fail auth. ssh DOES work using the password for auth, but I would much rather limit it to only...
View ArticleSeeking proper Netplan config for simple dynamic & static nic's
Linux newbie seeking Netplan best practice setup for adding an additional Nic with a static address using linux server 25.04.As pictured, the dynamic enp0s31f6 is fine and well but when searching...
View ArticleSSH Connection to Multipass VM running on remote dedicated server
I have Multipass VMs running on a dedicated server.Presently to access the VMs, from my local pc, I first ssh into the dedicated server and then use multipass shell vm-name to ssh into the VM.How can I...
View ArticleIn SSH, how do I mv to my local system?
I ssh-ed into my webhost's directory, and tar-ed the webapp to download. When I try to mv to ~/mydirectory/backups or /home/mydirectory/backups, it defines the "home" as my root on the webhost that I'm...
View ArticleSSH Key-Based Authentication Prompting for Password on Windows to Linux...
I'm trying to establish an SSH connection from my Windows machine to a Linux server using key-based authentication, but every time I attempt to connect, it's still asking me for the password instead of...
View ArticleSSH: Port 22 Connection refused
From Ubuntu 18 lts I'm trying to establish ssh connection with my Kali Linux VirtualBox on the same computer. I've already installed openssh-client and openssh-server on both systems and I'm connected...
View ArticleHow to activate IPv4 address along with IPv6 on Ubuntu Server?
My research group has a multi-compute node HPC running ubuntu server 14.04.5 hosted at a home address (ISP is Comcast Xfinity). Internally, we use only one of the compute nodes. The machine can ping...
View ArticleUbuntu 24.04 SSH "No Route to Host" - Ping Works, TCP Fails (Homelab)
I'm experiencing a frustrating networking issue with SSH connectivity to my Ubuntu 24.04 LTS machine and hoping someone can point me in the right direction. I'm trying to SSH into a trash can Mac Pro...
View ArticleJuju bootstrap fails due to Mongo replicaset error on VMSS-attached nodes
I'm provisioning a Canonical Charmed Kubernetes cluster on Azure using a custom shell script that bootstraps Juju on a VM and attaches worker VMs to a VMSS (Flexible orchestration mode). During juju...
View ArticleSwitch Desktop Environment from Command Line
I have Ubuntu Gnome installed on a headless box. I use SSH or VNC to connect to it. I'm trying to switch to XFCE and I've got it installed, but the tutorials say to log out, and select the desktop...
View ArticleHow do I disable gnome-keyring ssh integration?
I don't want gnome-keyring to get in the way of my git commits, partially because it locks the entire screen while asking for a password, even on KDE (though I have now switched to GNOME). While I do...
View ArticleCan't login using password with my ubuntu server
I configured my ubuntu server to be accessible publicly remotely.But when I tried to access it using ssh. It keeps giving me Permission denied (publickey).I disabled PasswordAuthentication but still...
View ArticlePermission denied even if you enter the correct password when connecting to...
I'm using Ubuntu 24.04 version of ec2 and I got into trouble here.Originally, public key access was good using a pem key on Ubuntu ec2, but I wanted to access ec2 only with a password without a pem...
View Articlesshd configuration to use SSH Keys
18.10 install. I'm asking about sshd_config (in /etc/ssh/)How do I permit/authenticate sshd keys?When I log in from another Ubuntu instance, password works fine. ssh-copy-id should have set up the keys...
View ArticleUbuntu 24.04 Raspberry Pi Headless Setup (SSH: Connection Refused)
I used the RPi Imager to load Ubuntu 24.04 on an SSD boot drive. It boots my RPi. But I can't SSH to it. So I booted it up using an SD Card with RPiOS. I can ssh into that. I mounted the Ubuntu boot...
View ArticleOpenSSL version mismatch, SSH is failing to start
I upgraded Ubuntu 20,04 to Ubuntu 22.04. The upgrade was smooth, but I cant start the SSH service, with the error OPENSSL version mismatch: Built on 30100000, you have 30000002Please assist and advise...
View ArticleSSH service fails to start
I just created a virtual machine based on cloud images (of Lunar Lobster) on VMWare. Unfortunately it fails to start ssh. If I try to enable or restart the service I get:And if I check journal it is...
View ArticleUbuntu 16.04.2 - Connection reset by peer when ssh right after reboot
I was able to ssh to a Ubuntu 16.04.2 server before reboot. So after reboot I tried to ssh, but failed with message ssh_exchange_identification: read: Connection reset by peer.Weird part is that, after...
View Articlessh: connect to host stopped working and port 22: connection timed out
I can not access to remote computer using ssh username@host anymore, it worked before then it stopped and I always get:ssh: connect to host port 22: Connection timed outI checked firewall rules,...
View Article