Questions tagged [sshd]

sshd - OpenSSH SSH daemon

Filter by
Sorted by
Tagged with
1
vote
1answer
46 views

X11 Forwarding Display is always :0

I've been trying for a few hours now to get X11 forwarding working from a remote host. I know it used to work and the host was physically moved and has not worked since. I am unsure if that is ...
0
votes
0answers
23 views

sshd port forwarding listeners are stuck open

I have a recurring long term issue where a group of listening ports never seem to clear even when I restart the associated service. The service is ssh and I'm connecting via the Bitvise SSH Client (...
1
vote
0answers
23 views

Remote SSH disabled after each reboot - Sharing

I have a desktop installation of Ubuntu 20.04 with X11. I have installed SSHD, and enabled Remote Login in the Sharing page of Settings in the Desktop. Then it works to SSH into the machine from a ...
0
votes
1answer
84 views

SSH tunneling IP filtering

I have created this tunnel on server 10.1.1.1: ssh -f -N -o -L 8789:10.2.2.2:22 user@10.2.2.2 This allows me to connect from local server to the remote server, through port 8789, like so : ssh -p 8789 ...
0
votes
1answer
91 views

python sshclient hanging for the linux command [closed]

execution hanging for the second command and its works for simple linux commands like 'pwd', and 'ls' and so on, and any thought on this issue, from paramiko import SSHClient import paramiko, time, ...
5
votes
3answers
203 views

ssh.service startup failure; port 22 already in use

Brand new ubuntu installation: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.1 LTS Release: 20.04 Codename: focal ssh.service fails ...
0
votes
1answer
88 views

How setup reverse proxy for SSH server?

I have a VM with network interfaces, namely eth0, eth1, and eth2. All of these interfaces are connected to independent ISP routers which have globally static IP configured let's say Public-IP1, Public-...
0
votes
1answer
132 views

What does “Too many recursive configuration includes” mean when trying to connect to a ssh server?

The current problem is when I try to connect to a ssh server (from a university I am currently attending) with the following (example) command: ssh -Y root@example.com Then I get the following error: ...
0
votes
0answers
83 views

/usr/sbin/acpid and /usr/sbin/sshd are taking up 100% CPU in Ubuntu 16.04

I have a tomcat8 server (Ubuntu 16.04) running an AI application in some region in France. I can access this APP via a browser and every 2 or 3 days it will become too slow and almost unresponsive. I ...
0
votes
1answer
191 views

Passwordless ssh config gives Server refused our key

The keys are correct and sshd is configured correctly (read all previous SO questions for this problem). Any ideas? Trying to connect from Windows with Kitty (improved PuTTy) Ubuntu Server 20.04 x64 -...
1
vote
1answer
93 views

Ssh conection issue

I'm trying to establish a connection with Fermilab servers. For this I use both Kerberos protocol and ssh to connect my computer; however I only receive kerberos ticket and this message from terminal ...
0
votes
0answers
32 views

Failed to start OpenBSD Secure Shell on Reboot [duplicate]

During reboot: ● sshd.service - OpenBSD Secure Shell server Loaded: loaded (/etc/systemd/system/sshd.service; disabled; vendor preset: en Active: failed (Result: exit-code) since Thu 2020-10-01 ...
1
vote
1answer
52 views

How to log off all user from ssh client in ssh server?

How to log off all user from ssh client in ssh server? not just a particular user, so that i don't have to log off one-by-one from ssh server.
1
vote
1answer
1k views

Nordvpn causes some local services to malfunction from my Ubuntu Server 20.04 LTS

I have started to use a PC in my house as a server to learn and expand more my knowledge in the IT field. Currently running Ubuntu 20.04 LTS, at the moment being used for samba, minidlna, and local ...
4
votes
1answer
3k views

Set SSH idle timeout Ubuntu 20.04

I want incoming ssh-sessions to automatically disconnect upon inactivity for a security-critical server. I've set the following settings TCPKeepAlive no ClientAliveInterval 30 ClientAliveCountMax 0 ...
0
votes
0answers
494 views

Restricting login with pam_access.so

I've recently moved from RHEL to Ubuntu and am having an issue getting access.conf to work. On RHEL I would add "account required pam_access.so" to the system_auth and password_auth pam.d ...
1
vote
1answer
3k views

SSH server listening on 0.0.0.0:22?

I have two machines in my home network and I want to connect them over SSH. The first machine has a local ip 192.168.1.23 and openssh remote client installed. The second has a local ip 192.168.1.169 ...
1
vote
1answer
1k views

Unable to connect to basic ubuntu ssh server with password authentication - permission denied publickey

Title says it all. I followed this guide to the letter: https://linuxize.com/post/how-to-enable-ssh-on-ubuntu-20-04/ However at the end I was unable to ssh to ubuntu - I get permission denied (...
1
vote
0answers
340 views

Always being prompted for password upon ssh to server even after exchanging keys using ssh-copy-id command

The output of ssh -vvv username@server_ip debug2: reserved 0 debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ecdsa-sha2-nistp256 debug1: kex: server->client cipher: ...
1
vote
1answer
136 views

Automate SSH client and server setup on every device

I don't think my needs are all that unique. I have a home network wired and wireless with multiple devices running Ubuntu 16.04.6 LTS. They will be upgraded to 20.04 soon though. My desire is to ...
0
votes
0answers
191 views

How to disable sshd logs in Rsyslog?

I have docker containers, which send logs, using syslog driver. After that, Rsyslog sends logs to some PaaS. Right now, almost all logs look like this: pam_unix(sshd:auth): authentication failure; ...
3
votes
1answer
927 views

How do I configure sshguard in Ubuntu 20.04?

I have previously used sshguard successfully on Ubuntu 16.04 by simply installing the sshguard package. When I tried to do the same on 20.04, however, I discovered that it was only mostly working: ...
0
votes
0answers
8 views

Default sshd_config [duplicate]

I was getting a 'remote host has disconnected' error and came across this thread when trying to troubleshoot the issue. Now I changed the Subsystem value in the /etc/ssh/sshd_config file according to ...
0
votes
0answers
33 views

Inbound connections not working to wifi, unless wired network is connected

I have a system I just upgraded from 19 to 20.04. Wifi works fine when logged in locally. But...after installing openssh-server, I found I could not ssh into the laptop. I've got assigned IPv4 ...
1
vote
2answers
77 views

When cutting external power supply, I cannot ssh connect to my Ubuntu 20.04 desktop on Dell XPS 13 7390 laptop

I installed sshd in my Ubuntu 20.04 minimal desktop on Dell XPS 13 7390 laptop, through command sudo apt install ssh. And I used Xshell software on another physical machine in Windows 10 to SSH ...
0
votes
1answer
59 views

VX Connectbot connects to bionic sshd but not to focal sshd, why and what can i do?

Seems there's been a subtle shift in sshd such that now VX Connectbot no longer gets any response. is it a bug? a new feature? VX Connectbot (1.7.1-29 on android 6.0.1 G900PVPS3CQD1) can connect to ...
1
vote
1answer
450 views

Allow an active directory group to ssh into server

I'm trying to get my AD group SSH_Users to be able to SSH into our server. I added a line to the config file in /etc/sshd: AllowGroups ssh_Users and tried ssh_Users?domain.com. This does not work. I ...
0
votes
1answer
221 views

How to exclude someone when PubkeyAuthentication no in sshd_config

I want to set PubkeyAuthentication no in /etc/ssh/sshd_config, but someone should be excluded, i.e: John
-1
votes
0answers
194 views

How to ssh into local Ubuntu device?

I am trying to access my odroid-xu4 device running on Ubuntu 18.04 Bionic Beaver, I tried to ssh the localhost and I got the following message odroid@odroid:~/Desktop$ ssh localhost odroid@...
1
vote
0answers
218 views

Why is Ubuntu running relatively slowly on my machine?

So I run my Desktop with a dual boot of Windows 10 and Linux Mint 19.4, my desktop specs are: Motherboard: MSI X570 Gaming Carbon Pro Wifi System HD for Win10: Sabrent 4 1TB NvME SSD System HD for ...
0
votes
0answers
283 views

How to disable sudo privileges to a user in Linux Ubuntu?

I have created an ssh key-based user in my server. I want to disable all sudo privileges to that particular user. I have done the following; sudo deluser user sudo /usr/sbin/deluser: The user is ...
1
vote
0answers
84 views

Connect Multiple nodes for hadoop via ssh on ubuntu

We are trying to set-up a two-nodes hadoop clusters on two different machines. SSH to localhost without password have been setted up on both machines. And hadoop can run well as single node on each ...
0
votes
1answer
533 views

cannot ssh into server

[Resolved][Read the answer below] somehow pinging the IP Address resulting in Request timeout, it means there's an issue in the connection, between client and server endpoints. Credits to user68186 ...
0
votes
0answers
77 views

Can’t get ssh status?

I was following this to starting an ssh server on my ubuntu pi. I ran sudo systemctl status ssh, and I got the response (ellipses where un-useful stuff was): Loaded: loaded (... Active: failed (...
1
vote
0answers
2k views

Ubuntu Logs meaning Disconnected, Invalid user and etc. Server attack

Recently installed new server, my first one and almost immediately started to receiving following log, it seems that someone is trying to access my server. Could not find a detailed description about ...
0
votes
1answer
3k views

Permission denied (publickey) — Strange error

Thanks for looking! I need help with an issue that I am sure is trivial but it has me befuddled :-(. Let me start by saying I am not trying to establish public key/private key trust based password-...
0
votes
1answer
104 views

How to install Ubuntu 18.04 on 256GB on Solid State Drive and 2TB Solid State Hybrid Drive with replacing Windows 10 and partitioning?

I have a 256 GB solid state drive and a 2 TB solid state hybrid drive. I have seen references in some web sites where they came up with same question but I don't know with or without replacing Windows....
0
votes
0answers
64 views

Cannot SSH into server after sshd config change

I tried adding SFTP access to a second user in /etc/ssh/sshd_config Unfortunately I left a space between the usernames and later realized this might be the cause: Match User user1, user2 ...
0
votes
0answers
129 views

Why does logwatch hang processing sshd on a fresh install of Ubuntu 18.04 server?

$ sudo logwatch --service sshd --debug 100 --output stdout ... TimeFilter: Period is day TimeFilter: SearchDate is (2019-10-13T..:..:..\.[0-9]+[+-][0-9]{2}:[0-9]{2} ) TimeFilter: Debug SearchDate is ...
0
votes
0answers
113 views

Enabling ssh logs on ubuntu system

I want to enable ssh logs on my ubuntu system to monitor actions performed by any ssh connection. My first question is whether i can see these actions in ssh logs and if so then how can i start ssh ...
0
votes
0answers
457 views

How to allow a remote user to connect over ssh on ubuntu 18.04

Before you yell me out, I already checked the answers on the web but couldn't install the system that I want correctly. Here is what I want: Allow a remote user to connect (to my pc) over ssh and ...
1
vote
1answer
404 views

Is the ssh service renamed in in 19.04?

SSH seems to work fine, but running sudo systemctl restart ssh gives the error Failed to restart ssh.service: Unit ssh.service not found. (and the same for sshd) Did they rename it or something?
4
votes
2answers
10k views

SSH Server cannot be found - Even though installed

I have a machine running Ubuntu 18.04 LTS where I cannot seem to get SSH Server working. I installed SSHServer using: sudo apt install openssh-server but I am getting the following when I try to ...
2
votes
1answer
73 views

How do I configure my SSHD to use a different shell?

Operating System: Ubuntu 18.04.2 LTS (Server) Kernel: Linux 4.15.0-54-generic Architecture: x86-64 When I SSH into my box it uses the MOTD, PS2 and shell from my local profile of the server and ...
0
votes
1answer
559 views

How can I truly shut down ssh server?

I disable the ssh server with systemctl disable ssh then reboot. After reboot, I still can log into the remote server through ssh. I use systemctl status ssh to check the server status and it is ...
0
votes
0answers
236 views

Password always required even if in sshd_config PasswordAuthentication no

I have 5 VPS Ubuntu 18.04 LTS. The SSH configuration is the same for everyone. No root access User2 with "sudo" permissions No password request Access via SSH Key RSA From my PC (Xubuntu ...
1
vote
0answers
1k views

SSH - failed to release session

I have found the next line in the log on one of Ubuntu 18.04 server: sshd[22190]: pam_systemd(sshd:session): Failed to release session: Interrupted system call I can't find more description/solution ...
1
vote
0answers
35 views

SSH session show à instead of @

I have Ubuntu VM (installed on esxi). I was trying to run a curl command over a ssh session: curl -L https:// xyz.com/latest After running above command my ssh session started showing as below: ...
1
vote
0answers
426 views

Ubuntu Bionic server not responding to ping/SSH

Things I've tried. I checked and verified the server can connect outside by pinging my WiFi router and desktop. No issues there. As another test, I installed a package via apt. I checked and verified ...
0
votes
1answer
267 views

Add startup dependency from netplan to ssh

By default, ssh binds to 0.0.0.0:22 which obviously works without problem. But now, I added a gitlab docker container to my system (which uses port 22) and so I had to restrict my host ssh service to ...