Questions tagged [ssh]

SSH, or "Secure Shell", is a networking protocol for securely connecting to a remote computer over an unsecure network. SSH is also the name of the default command-line SSH client. This tag is for questions involving using and troubleshooting SSH connections, as well as setting up and configuring SSH for applications which use the SSH protocol. This tag should be used with other tags to better identify the environment of the problem.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Problem with SSH connection to TrueNAS server using password authentication - permission denied publickey

I have a problem with enabling password authentication mode for OpenSSH server service in TrueNAS SCALE version 23.10.2 based on Linux Of course I can use public-private keypairs for connecting to ...
pangratt12345's user avatar
-1 votes
0 answers
23 views

Need help to configure network setting for VMware machines

i am using ubuntu 22.04.4 and i have installed vmware for practising purpose. i haveinstalled oracle linux in vm for oracle database. i am not able to connect with vm via ssh through my host machine. ...
Sarim's user avatar
  • 1
0 votes
0 answers
16 views

unattended bash script (*.sh) with password

I want automatically made full image backup from any servers. Manually it works like: ssh [email protected] "nohup sudo -S dd if=/dev/sda | gzip -1 -" | dd of=fullServerXX-`date +%d%m%y`....
Pythonaire's user avatar
0 votes
0 answers
52 views

Unexplained read error w/hosts.allow hostname lookup only

Yesterday I was locked out of a server with the error "kex_exchange_identification: read: Connection reset by peer" and I immediately found the cause after having connected over KVM that the ...
Melt Down's user avatar
0 votes
0 answers
23 views

SSH freezing moments after successfully connecting, then Broken Pipe

Sorry to ask about a topic that's been done to death, but I haven't found what I need yet. I've set up a lambda machine with an SSH server. I can connect to it from my laptop with ssh -l <username&...
Pavel Komarov's user avatar
0 votes
0 answers
46 views

git operation timeout, but ssh works fine

I am using Ubuntu 22.04.4 LTS with WSL2. Previously my git works fun, but recently, if I try git pull, it gives: ~/xxx main ❯ git pull origin main ...
Zy Han's user avatar
  • 1
0 votes
0 answers
47 views

SSH into virtual machine created by libvirt requires password

I have created a virtual machine on my Ubuntu via virt-install. The image I was using is this - Rocky-9-GenericCloud.latest.x86_64.qcow2. virsh list --all shows it's running. And I have followed ...
itsjc's user avatar
  • 31
-1 votes
0 answers
14 views

SSH Lost After Creating L2 WiFi-to-Eth Bridge

I'm running Ubuntu 23.10 and setup a Layer 2 Bridge to connect my WiFi Card in 4addr mode (ASUS036ACM) to my ethernet interface. I noticed that when adding the WiFi card to the bridge, I lose SSH and ...
cdubs's user avatar
  • 121
0 votes
0 answers
18 views

After ssh to remote server, it freezes, if I type commands like "top", "htop", "screen -r screenname", "pipenv shell"

I try to connect to a remote server, to train a machine learning model. With my ubuntu laptop, I can ssh to the server I can not scp any file. It starts but freezes at 0 percent and 0kbit/sec speed ...
Ferid Heziyev's user avatar
0 votes
0 answers
30 views

How can I remove spam ad about some Kubernetes service (likely in MOTD) in Ubuntu 20.04, shown on each SSH login? [duplicate]

On SSH login I get * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/...
reducing activity's user avatar
1 vote
0 answers
53 views

Rsync over SFTP alternatives?

I am currently working with an SFTP server and aiming to synchronize its folder with a corresponding local directory. It's crucial to note that I lack control over the SFTP server, and files within it ...
Eddy's user avatar
  • 11
0 votes
0 answers
19 views

Ubuntu 20 desktop has my external IP

I have a small factor PC connecting to LAN1 port of a router that acts as a wifi bridge to other parts of my network. The traffic eventually leaves the house from a Bell Canada router. Yesterday I ...
Mohsen Shabanian's user avatar
0 votes
0 answers
6k views

ssh: connect to host xxx.yyy.com port 22: Connection refused - Unable to access my server via SSH

I am using Ubuntu 22 and SSH is active. UFW is inactive. I have a single key pair and I have stored the pub on the server under authorized_keys. There was already a key there from another computer of ...
MartinTTS's user avatar
  • 101
-1 votes
0 answers
55 views

Slow SSH tunnel connection

I have three machines: mypc (Ubuntu 22.04, behind a NAT firewall) myserver (Ubuntu 22.04, a server on the public internet) openwrt (OpenWRT 23.05, on a NAS device behind a different NAT firewall) I ...
Jens's user avatar
  • 177
0 votes
0 answers
22 views

How to Login to SSH with Dynamic username

I some external Gateway through which the ssh requests come and need to log the sessionID in the linux when the connection happens. I can send the sessionID (some string) along with the username while ...
CRYSTAL's user avatar
0 votes
0 answers
26 views

Scrollback lines on SSH session with Ubuntu 22 minimal server

I've installed a new minimal Ubuntu 22 server on hardware and am now SSH'ing to it from a local network PC - however I note that the output in the ssh window (Terminal on MacBook Pro) is limited to a ...
neophytte's user avatar
  • 153
0 votes
0 answers
101 views

Getting "no matching key exchange method found" when using SSH between identical Ubuntu 20.04 LTS servers

I have 2 identical Ubuntu 20.04 LTS servers (actually one is a clone of the other in VMWare), and when I try doing SFTP or SSH from one server to another, I am getting no matching key exchange method ...
Eric W's user avatar
  • 1
0 votes
0 answers
36 views

Allow access to openssh server without authentication

First this is not a duplicate of any thread ive gone thru all of them and either solutions were not working for OPs or they werent working for me. I want to allow specific user to use my ssh server ...
Surepic 342's user avatar
0 votes
0 answers
36 views

How to use Audacious music player over SSH? [duplicate]

I want to play music on my desktop PC via SSH so that the player GUI opens on my laptop, but still use the desktop's local sound system for output. In other words only control the player remotely. ...
juzzlin's user avatar
  • 1,213
0 votes
0 answers
132 views

Ubuntu SSH 23.10 SSH issue (50-cloud-init.conf)? [duplicate]

I just installed Ubuntu server 23.10 yesterday. I downloaded the iso directly from ubuntu.com. Everything went fine during the install. For security reasons, I always disable password authentication, ...
coding4fun's user avatar
1 vote
0 answers
69 views

Possible to Play Audio through SSH Using PuTTY without Opening an RDP Session?

I recently posted a question regarding an issue with setting up PulseAudio. I have since encountered a related problem that I believe might help resolve the original issue. I am currently using PuTTY ...
N00B_141's user avatar
0 votes
1 answer
48 views

ssh welcome message is gone after remove node and angular

I have same problem like ssh welcome message is suddenly gone but cant comment on it. I am pretty sure that the problem comes after remove node and angular from the system. The solution in the first ...
user6266369's user avatar
-1 votes
0 answers
30 views

Rsync file to Android with SSHelper

I installed SSHelper (https://arachnoid.com/android/SSHelper/) and can rsync a file to my phone with rsync -r --ignore-existing -v --stats --progress --omit-dir-times --no-perms --inplace -e 'ssh -p ...
phobic's user avatar
  • 173
-1 votes
0 answers
51 views

Unable to install openssh-server

I had ssh installed and was working fine but then it stopped suddenly. So I tried to reinstall using sudo apt-get install --reinstall openssh-server but it seemed that the already active systemctl was ...
user1769468's user avatar
0 votes
0 answers
74 views

Unable to login GUI using credentials in Ubuntu 22.04

Unable to login to GUI in Ubuntu 22.04 using the correct credentials, getting error as Sorry, password Authentication didn't work, please try again. When try to login from putty, username was ...
Hari's user avatar
  • 1
-1 votes
0 answers
50 views

SCP: Down- & Uploading only possible via Powershell

I haven't been able to do it for months with Putty, Bitvise... Downloading and uploading via Powershell works. But via Putty and Bitvise impossible - although SSH works. Bitvise has an SCP browser. ...
nooboverflow's user avatar
0 votes
0 answers
90 views

Having trouble with SSH localhost

I am trying to connect my UTM virtual machine to my host terminal on mac. I am using ubuntu 22.04.3. My VM has port forwarding set up with guest port 22 and host port 2222. When I run ssh benwal@...
benwal's user avatar
  • 1
-1 votes
1 answer
69 views

Can't view bash history for SSH sessions

When logging in as a user via ssh, then sudo su - to become root I can't see the history of commands run. I've tried cat /root/.bash_history running the "history" command, etc. I only see ...
CrazyCat's user avatar
0 votes
0 answers
52 views

Closing out ssh session in MobaXterm and WinSCP after being idle for a few minutes

Well the problem I have is that when I log in via ssh in MobaXterm everything is fine when I am inside the terminal but if I leave it for a moment without doing anything for a few minutes it closes ...
JeanHz's user avatar
  • 11
0 votes
0 answers
20 views

Bash script for executing linux commands on remote machines using ssh key [duplicate]

I want to run a script to get details of hardwares and user details from multiple remote machines by login using ssh private key. this is my script #!/bin/bash # Check if the user provided a file if [...
Subash's user avatar
  • 66
0 votes
0 answers
39 views

Use Ubuntu Frame to implement "apps"

Currently I have Ubuntu Frame running wpe-webkit-mir-kiosk displaying the Home Assistant webpage on a touch screen x86 machine. I'd like to have a way "swap apps" from the touchscreen, and ...
myth74's user avatar
  • 1
0 votes
0 answers
32 views

pam_radius_auth: Failed to open RADIUS IPv6 socket

I am using Ubuntu22.04.3 LTS. We've encountered the following error after disabling IPv6. Previously, it was working fine when IPv6 was enabled. However, in our environment, IPv6 is not in use: "...
Ramesh Raman's user avatar
0 votes
0 answers
30 views

My password authentication is still working when I've done everything to disable it, I properly set up passwordless auth w/keys + passphrase

I can ssh into my server using password auth, or keys + passphrase. I have modified the config file and set passwordAuth to "no" and UsePAM to "no" since I don't have a ...
therealtwerkman's user avatar
0 votes
1 answer
51 views

I was installing / enableing fips 140 , rebooted as instructed now my wifi wont let me log rejecting the correct pw. Running Ubuntu Studio 20.13on

I was attempting to make a compliant Laptop and after enabling fips 140. I can no longer log in to my Wi-Fi networks with what were the proper passwords, it asks for password or security encryption ...
Daniel Kerr's user avatar
0 votes
1 answer
55 views

Cannot git push to SourceHut using SSH

I recently made an account on SourceHut to have a online repository. I followed the directions and generated the SSH key pair and pasted the public key. When trying to git push, an Ubuntu prompt ...
javert's user avatar
  • 31
0 votes
0 answers
175 views

Mysqli error PHP Startup: Unable to load dynamic library 'mysqli' PHP8 MySql 8 Ubuntu 20

I have seen a thousand of these b answered with reinstall Mysql. Did that. Even more say uncomment extension=mysqli. Did that in both the cli folder and the apache folder. Mods-available shows its ...
Griehle's user avatar
-1 votes
1 answer
64 views

Unable to execute sudo command from ssh agent; getting "Sorry, try again", but the same password works in the server

With the valid password, we are unable to execute sudo commands from the ssh agent. We are getting "Sorry, try again". The same password works in the server. What could be the problem?
Prathwish Hegde's user avatar
-1 votes
1 answer
40 views

Headless RaspberryPi SSH connection through Ethernet USBC adapter

I have a headless Raspberry Pi with SSH enabled. I can program with no issues using VSCode remotely using a Windows Laptop. But, I'm now using a one of those "fancy" new laptops with Linux ...
lchavez's user avatar
  • 17
0 votes
0 answers
21 views

Call a program through ssh -X but dont display anything

I have to run this program I need to launch through ssh that absolutely needs a gui to run but I have no use for the visual output (it wont launch if I start it from an ssh session, I need to start it ...
Vincent L.'s user avatar
2 votes
3 answers
158 views

How to set up remote desktop software for a PC where I will only have remote access to in the future?

I have set up CCTV running on Ubuntu 22.04 LTS on Intel NUC. I want to be able to remote access the PC for troubleshooting mostly and want a graphical interface for the remote desktop. The software I ...
Ashu's user avatar
  • 9,462
0 votes
0 answers
12 views

Postman on Ubuntu - cannot insert hidden client certificate

I have generated the self-signed client certificate (*.pfx) that is located in Ubuntu (22.04) hidden folder (e.g. ./.ssh/client.pfx). Unfortunately Postman (10.x) does not show any hidden folder and ...
user1856533's user avatar
0 votes
1 answer
57 views

Network settings seems to be completely broken, no logic to be seen

I have been a random problem with my server for a while, every now and then after a reboot the network suddenly completely stops working. Normally, after a few changes in the network files I am ...
Yoshi's user avatar
  • 101
1 vote
0 answers
304 views

ssh connect to OracleLinux8 response:Bad packet length 2424479189. Connection corrupted

ssh-client: uname -a :5.15.0-48-generic #54-Ubuntu Ubuntu 22.04.3 LTS OpenSSH_8.9p1 Ubuntu-3ubuntu0.6, OpenSSL 3.0.2 15 Mar 2022 ssh-server: Oracle Linux Server 8.9" OpenSSH_8.0p1, OpenSSL 1.1....
badrecover's user avatar
1 vote
1 answer
132 views

unmasking ListenAddress :: in sshd_config

what will happen if unmasking ListenAddress :: in sshd_config and restarting sshd service. Will I block myself out forever? Seems like I have done it.
lunar75's user avatar
  • 11
1 vote
0 answers
53 views

Script in /etc/ssh/sshrc ignore for one user

As I've read on couple threads, I configured a script in /etc/ssh/sshrc for it to send an E-Mail every time when somebody connects over SSH. That works pretty good but recently I started using ansible ...
NASH7's user avatar
  • 13
0 votes
2 answers
130 views

Setting DEBIAN_FRONTEND remotely

Is there any way to set DEBIAN_FRONTEND=noninteractive when executing a script remotely via SSH? Doing so I get this error: sudo: sorry, you are not allowed to set the following environment variables: ...
Socrates's user avatar
  • 2,473
1 vote
0 answers
40 views

ssh command on shutdown fails

I have an Ubuntu 20.04 server, I'm connecting to a UPS. I want the Ubuntu server to shut down a truenas server, also on the same ups. The idea is that the UPS software on Ubuntu server triggers the ...
Jujuh's user avatar
  • 11
0 votes
1 answer
102 views

No route to host

I'm creating an ubuntu server. I'm totally new. The first redflag is when the pc is turning on, before everything is loaded, it fails in "a start job is running for wait for network to be ...
befbukeeav's user avatar
0 votes
1 answer
93 views

issue with ssh into lxd container using ansible

I have created a dynamic inventory which fetch the created lxd containers (so that I don have to type the name of container each time) so here is the dynamic inventory plugin: community.general.lxd ...
Zakaria Ait Yakoub's user avatar
-3 votes
1 answer
107 views

I want to to disallow everything except ssh, e-mail, and http [closed]

If I use: sudo ufw default deny incoming sudo ufw default allow outgoing sudo ufw allow ssh sudo ufw allow http ...etc sudo ufw enable To block the world from entering my website execpt certain ...
Dan's user avatar
  • 5

1
2 3 4 5
125