Questions tagged [sshd]

sshd - OpenSSH SSH daemon

Filter by
Sorted by
Tagged with
1
vote
1answer
14 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
14 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
65 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
31 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 ...
0
votes
0answers
19 views

How to set up SSH key based authentication for vendors

I have installed a Vendor SSH PUB key in my linux server( redhat based) under a non admin user say X. And when I tried to login from Vendor machine, using FileZilla( login using the Private key of ...
1
vote
1answer
28 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
0answers
17 views

Allowing 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
34 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
0
votes
0answers
56 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
75 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
93 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 ...
0
votes
0answers
45 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
159 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
36 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 (...
0
votes
0answers
458 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
457 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
79 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
87 views

Ubuntu 19.10 no publickey login for root while other users work just fine

Just setup a server using a 19.10 minimal ISO. Went to configure it just like I always did. Got to the step where I enable sshd, prohibit passwords, etc. So I copy my public key to the machine and ...
0
votes
0answers
56 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
56 views

2nd sshd - Timout on start with systemd before it finally starts

I added a 2nd sshd server (to /usr/local) and want to start it with systemd on Ubuntu 19.04. Everything works, but on start the service runs into a timeout and on after that it starts and everything ...
0
votes
0answers
84 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
42 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
360 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 ...
0
votes
1answer
232 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?
2
votes
2answers
3k 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
34 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
212 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
185 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
622 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
34 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: ...
0
votes
0answers
30 views

Assigning PrivSep directory in sshd

I am having an issue while running multiple instances of sshd. I can start and stop the services manually without issue. The problem is during boot. Since the init.d is executing multiple threads ...
1
vote
0answers
343 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
165 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 ...
0
votes
0answers
403 views

How to uninstall built in OpenSSH (7.2)?

I would like to ask for your assistance. I have compiled OpenSSH 7.9: sshd -V shows: OpenSSH_7.9p1, OpenSSL 1.1.1b 26 Feb 2019 BUT still the built-in one is in service, and I don't know how to get ...
0
votes
0answers
84 views

powerline doesn't work in ssh server on ubuntu

I am using these command to open my ubuntu(18.10) server sudo apt install openssh-server sudo apt install net-tools sshd ifconfig and then I use the terminal on other device(termux on my android ...
1
vote
1answer
5k views

How to use scp to transfer files between ubuntu and windows10?

I'm using the command scp -P${myport} ${username}@${ip} to tranfer the files, but I don't know how to write the filepath in windows. For example, if the filepath in windows isC:/Download, how to write ...
0
votes
0answers
795 views

X11 connection rejected because of wrong authentication

I recently installed fbprophet via conda on python. Whenever I am trying to import it, my ipython environment crashes with follwowing error. X11 connection rejected because of wrong authentication. ...
1
vote
0answers
349 views

LVM over 1x SSD + 1x HDD

I am just wondering if somebody thought about this: in a system constellation with a SSD and a HDD would setting up a LVM that would include both generate something similar to a SSHD? Would the system ...
0
votes
0answers
48 views

Xubuntu 18.10 OpenSSH Shell Access is denied error

Trying to establish ssh tunell, I have my assigned username and password, but when I try to connect I get error: Shell access is disabled !Connection to xx.xx closed. How to solve this?
0
votes
0answers
261 views

Getting full logs of sshd failed connections

When I've queried status of my ssh server which has public ip, it states following: user@mypc:~$ sudo systemctl status ssh ● ssh.service - OpenBSD Secure Shell server Loaded: loaded (/lib/systemd/...
0
votes
1answer
360 views

sshd 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 ...
1
vote
1answer
3k views

Ubuntu-budgie 18.04 agent refused operation when trying to ssh with public key

When I try to ssh using rsa key pair, I get the following error: debug1: Next authentication method: publickey debug1: Offering public key: RSA SHA256:2zjgjRVRDdbdfmjqip0o7M5vGXRmdH1vIvT88rrF3yE /home/...
0
votes
0answers
1k views

How to change sshd port on 18.04 Server?

I thought it would be easy, but that does not seems to be the case. I'd like to change the port that SSHD (SSH daemon) is listening on. So I simply changed the entry in /etc/ssh/sshd_config that ...
0
votes
0answers
74 views

Can ssh local but cannot from other computeres

My desktop is a Linux (Ubuntu) machine with ssh server configured. It used to work fine before I moved the desktop to a new network. Now I can ssh into the machine from itself (either by ssh localhost ...
0
votes
2answers
938 views

Can't ssh remotely, but can locally, after installing desktop on remote server

I installed LXQT on my Digital Ocean Ubuntu 18.04 VM. Afterward, I could not ssh in remotely. I tried restarting the ssh service using the DO console. That did not work. So I completely uninstalled ...
3
votes
1answer
2k views

Found a lot of SSH login attempts in auth.log [duplicate]

I'm running my own DigitalOcean Droplet on Ubuntu. Today, I found that my SFTP connection to said Droplet was a little laggy when doing work on it, so I checked /var/log/auth.log files to see what was ...
0
votes
1answer
729 views

sshd not listening on port 22 after upgrade to 18.04

Ever since I updated to the latest Ubuntu release (18.04) I am unable to ssh into the machine until I walk over to the console and wake up the machine by hitting a key on the keyboard or moving the ...
1
vote
0answers
50 views

How to use 2FA with cert based SSH auth?

I used this guide to enable Google TOTP auth on Ubuntu 16.04. SSH only allows cert based auth (PasswordAuthentication no) I set ChallengeResponseAuthentication yes and restarted the SSH service. I ...
1
vote
1answer
216 views

Enabling SSH on boot via config files

How can I configure ssh service to run on boot other than via shell? Is it through /etc/init/ssh.conf ? If that's the case, what parametters should I look for in it? The reason I can't do this ...