Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
0 answers
48 views

How to enable /etc/update-motd.d/ messages to show on SSH login

I have two servers running Ubuntu 22.04.4 LTS. One of them (let's call it host1) I will be greeted with the motd upon logging in via SSH as shown below. However, on the second one (host2) this will ...
cornfed's user avatar
  • 21
-1 votes
0 answers
43 views

Can't login SSH on Ubuntu Core 24 with QEMU

I'm new in linux and i'm trying to use the IoT Ubuntu Core, so i created my own Ubuntu Core 24 image with this tutorial https://ubuntu.com/core/docs/build-an-image and tried to visualize this image ...
rafael-ricardo's user avatar
-1 votes
1 answer
133 views

Need to configure user password policy on Ubuntu 22.04 server

We want to configure the following user password policy on our Ubuntu 22.04 server. I have referred to online documentation but have not found a consolidated guide that can help us implement the ...
Ak Singh's user avatar
0 votes
0 answers
47 views

Slow ssh logins

I have a bunch of servers all running Ubuntu 20.04 and all configured the same, we use Chef to configure things. System details: OS: Ubuntu 20.04LTS with the latest patches Hardware: Dell R730s, ...
ccjohnson's user avatar
0 votes
0 answers
84 views

Ubuntu server: Systemd-networkd-wait-online.sercice failed during startup and Invalid login bug

Ubuntu server 24.04 was working correctly for a few hours after install. After I rebooted it, there were two errors: Systemd-networkd-wait-online.service failed every time on boot. I was also not ...
Ajwat Mustafa's user avatar
0 votes
0 answers
62 views

Cannot SSH to my server, systetmd-login fails

I cannot SSH on my remote server (Ubuntu 22). When I try, it loads indefinitely. Here is the ouptut of a ssh -v: Authenticated to x.x.x.x ([x.x.x.x]:22) using "password". debug1: channel 0: ...
C. Crt's user avatar
  • 131
0 votes
1 answer
25 views

Problem with script executed in /etc/X11/Xstartud.d/50-myconf

I am trying to update a script inside /etc/X11/Xstartup.d/00-myconf. It contains a command that works well when tested manually, but not in the script. This command uses a pair of RSA keys to ssh into ...
Serge Bellinose's user avatar
0 votes
0 answers
52 views

Invalid password after ~1 week of system uptime and strange user account added

Recently I've set up my home server with Ubuntu 22.04.4 LTS. It was running just fine for around a week or so with only Minecraft server hosted on it. The problem is that after around a week of uptime ...
BlackFlage's user avatar
0 votes
0 answers
44 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
159 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
0 votes
1 answer
57 views

Ubuntu sound settings are getting muted upon ssh login

Problem: Sound settings are being muted when the first user, other than the default user, attempts to login to Ubuntu through SSH. This issue is not related to any PC fault. It occurs whenever a user, ...
Brain's user avatar
  • 1
0 votes
0 answers
79 views

My SSH keys no longer work

For some reason my VPS ignores/bypasses the passphrase for my pubic/private SSH keys and logs me in automatically, without the need for a passphrase or password. I haven't made any changes or even ...
Hawk007's user avatar
  • 169
0 votes
1 answer
2k views

What are the default username and password for ubuntu-20.04.6-live-server-amd64.iso?

I downloaded the ubuntu-20.04.6-live-server-amd64.iso file and installed it into the Oracle cloud virtual server by attaching the boot volume. There was no prompt for username and login password ...
hyq's user avatar
  • 1
0 votes
0 answers
40 views

SSH connection impossible when login locally and vice versa

I set up a shared workstation (Ubuntu 23.04) at my office, my colleagues and I mainly access it through SSH connection, but, if I login locally to the machine, other users cannot access it through SSH....
Luigi Giuffrida's user avatar
1 vote
0 answers
409 views

SSH without password does not work on ubuntu server 22.04.2 LTS

First of all, thanks for everyone's advices. My testing environment: two ubuntu servers (abbreviate as S1, S2) Server version: 22.04.2 LTS My Steps for configuring ssh login without password as below: ...
AmastigoteC's user avatar
0 votes
0 answers
100 views

server boots into read-only file system after power outage

ok obi wan you're my only hope. my power went out recently and when it came back on, when I login to my ubuntu server I get the message below: Unable to setup logging. [Errno 30] Read-only file ...
user3476463's user avatar
0 votes
1 answer
582 views

Can I force a specific user to login by SSH cert only while all other accounts can still SSH by password?

Ubuntu wizards, I'm trying to set a user to only be able to login via cert through SSH but allow all other users to login via password through SSH. For some reason, I'm not getting how to set this ...
Zack Perry's user avatar
0 votes
1 answer
97 views

Is it possible to have different ssh keys for ssh login and sftp on the same ubuntu user

Is it possible to have different ssh keys for ssh login and sftp on the same ubuntu user, I've tried a lot of things until now and I was not successful, through chatGPT,i tried searching on google but ...
Bardhyl Sllamniku's user avatar
1 vote
2 answers
518 views

Ubuntu 23 remove login password (again)

Asking again as current config according to many solutions shown are still allowing me to log in with password. I have successfully set up ssl cert login. Here is my sshd_config (without commented out ...
Datadimension's user avatar
2 votes
0 answers
154 views

Limiting concurrent Ubuntu session not working!

I am trying to limit my user's concurrent logins. Every user should be able to have a limited number of simultaneous ssh connections to my Ubuntu 20.04 LTS server. Here's what I've done so far: To /...
Alex's user avatar
  • 21
0 votes
1 answer
693 views

How to I update my bitbucket host ssh key on a user that doesn't permit login?

How do I update my Bitbucket host ssh key on a user that doesn't permit login? Bitbucket tells me I have to upgrade my ssh host key on all my clients for good security reasons. I've done the client ...
RogerParkinson's user avatar
0 votes
0 answers
525 views

Passwordless login in Ubuntu 23.04

I created my public key and successfully transformed it to my remote computer, but it still asks password while trying to connect it with SSH. It worked fine on the previous version of Ubuntu 21.04 or ...
Ubuntu User's user avatar
1 vote
1 answer
7k views

Enable ssh login with password for a user

I am the admin of a Ubuntu 20.04 server and I want to enable ssh login for a user through password, rather than using key pairs. The /etc/ssh/ssh_config file on the host looks like this (<username&...
A.Manfreda's user avatar
1 vote
1 answer
304 views

'who' command has blank output when using SSH

I have an Ubuntu virtual machine which I access via SSH. When I execute the who command I get nothing. Moreover I get this output when executing systemctl --user: Failed to connect to bus: No such ...
ammcom's user avatar
  • 183
2 votes
2 answers
7k views

Getting this error "puttygen: error loading `name.ppk': PuTTY key format too new"

I have a file name.ppk. I'm want to login ssh with .ppk file on Ubuntu Terminal. I have try this post Login SSH with .ppk file on Ubuntu Terminal but getting this error "puttygen: error loading `...
Shou's user avatar
  • 21
16 votes
1 answer
16k views

Unable to disable password authentication over SSH

I configured login by SSH key which is working but I can still login by password, which I don't want. I used sudo nano /etc/ssh/sshd_config to make the following changes: PasswordAuthentication no ...
Mário Alves's user avatar
2 votes
0 answers
2k views

Can I switch to a different PTS session opened using SSH

I'm using ssh to connect to a Ubuntu Server VM running on my desktop from both the desktop and my laptop like this: krzysztof@Alan: ~$ ▶ w 13:53:46 up 1 day, 18:03, 7 users, load average: 0.32, 0....
Krzysztof J. Obara's user avatar
0 votes
0 answers
2k views

How can I give a non-root user SSH access

I purchased a Digital Ocean Droplet and enabled SSH authentication rather than password authentication. I was able to configure the root SSH key correctly and can login on my laptop under the root ...
darkshadowtrail's user avatar
0 votes
1 answer
236 views

Mimic Autologin via ssh (Ubuntu 22.04)

I want to be able to start a gnome session and login on a pc so it's ready to use when I get to it. Similar to an autologin. But I want to avoid Autologin. It's a home automation project. At a set ...
bob's user avatar
  • 3
0 votes
2 answers
2k views

Is SSH root login without password and without copying public key possible?

I'd like to configure sshd_config to allow remote root logins without prompting for a password, but I do not want to configure passwordless ssh by copying the remote public key. In other words, I'd ...
MaxUbuntu's user avatar
0 votes
1 answer
934 views

Cannot login ssh on ubuntu core 22

After installing Ubuntu core 22 on the raspberry 3 mode B+. I cannot login by ssh. I try to use similar password with my account but not successfully.
Lieukim Long's user avatar
0 votes
0 answers
288 views

ssh multiple users key and password

I have set up my sshd to require both the key and a password from a ssh client, this works fine for my main root account. I tried to make a separate account that does not have root access, the key ...
Juin's user avatar
  • 1
5 votes
3 answers
10k views

For new AWS instance, "Using username "ubuntu". Server refused our key."

I have been using Amazon EC2 instances in AWS. I have been successful connecting with WinSCP to a variety of instances, including Amazon Linux, Rocky Linux, SUSE, and CentOS 6, 7, and 8. All of ...
Eric's user avatar
  • 155
-1 votes
1 answer
810 views

Cannot log-in into my linux ubuntu and lost my home directory and its files

So today i was learning a bit of linux using my linux ubuntu 20.04, i was learning about autofs. I installed autofs and configured it as was shown on the video i was watching. So it was time to create ...
Lihle's user avatar
  • 1
0 votes
1 answer
206 views

Disabling password change requirement on 1st login to Ubuntu Server?

I setup a Pi 4 once with Ubuntu Server & was having issues with SSH not prompting me to change my password the 1st time I logged in. So I researched for awhile & found a way to disable that ...
Jaladhjin's user avatar
0 votes
1 answer
67 views

Upgraded Ubuntu, now password to get into server will not work

I asked a similar question yesterday here, I am on a deadline and really out of my depth so any help would be hugely appreciated: Beginner PW Question using MacOS terminal I updated the system to the ...
dres_d.r.e.s's user avatar
-1 votes
1 answer
220 views

Beginner PW Question using MacOS terminal [duplicate]

I started working through the application process for a bootcamp today and came across an issue that is probably very elementary, however since I am a complete newbie I am lost! I was able to log onto ...
dres_d.r.e.s's user avatar
1 vote
0 answers
334 views

Why is sudo very slow (more than 30minutes) to display initial password prompt for a domain account?

I am hoping someone can help me figure out why 'sudo' takes longer than 30mins (on average) to display the initial password prompt when using a domain account. This problem occurs even after a reboot, ...
Sean Holm's user avatar
  • 111
0 votes
1 answer
313 views

Unable to login to root/sudo user

I have this Ubuntu 20.04 VPS which was working fine an hour back, but now I am unable to login to my sudo user. The root login is also disabled. When it was working, I deployed a static website and ...
s.khan's user avatar
  • 111
2 votes
1 answer
795 views

I changed permissions in my /home dir to 750 and files in it now I'm not able to connect the server [duplicate]

I changed the /home dir to 750 and files in it. Now I'm not able to connect the server with SSH public key. It’s showing the error Permission denied (publickey).
raviteja's user avatar
1 vote
0 answers
356 views

vnc server doesn't start before login

I tried to follow this guide because I need to do exactly te same thing: after restarting a remote pc, I need to access to the login screen with vnc.Unfortunately, after giving the command sudo x11vnc ...
Deffo's user avatar
  • 171
2 votes
1 answer
1k views

SSH login takes 15 seconds

SSH login takes 15 seconds I got two devices: WSL for Windows running: OpenSSH_7.6p1 Ubuntu-4ubuntu0.5, OpenSSL 1.0.2n 7 Dec 2017 Raspbian running: OpenSSH_7.9p1 Raspbian-10+deb10u2, OpenSSL 1.1.1d ...
darko's user avatar
  • 23
0 votes
1 answer
1k views

pam_mkhomedir.so not working with nslcd + LDAP (Active Directory)

I'm trying to get pam_mkhomedir.so to create an LDAP user's local home directory upon initial login. I'm on Ubuntu 20.04 LTS. Currently, users are added to my server via LDAP (Active Directory backend)...
Justin417's user avatar
  • 141
0 votes
0 answers
55 views

login to server only via SSH (disallow all other users / groups to login)

I am willing to rent a server from a hosting provider. I will SSH to that machine. I do not want anyone else (specially those who has physical access to the machine) to login. I only want to permit to ...
Ahmad Ismail's user avatar
0 votes
1 answer
1k views

Logged into remote server with key but can't upload file with scp

New to Ubuntu, I logged into my institution's remote server having generated a private/public key pair. I was set up with a username after sending the administrator the public key. I should have been ...
Michael Smith's user avatar
0 votes
1 answer
279 views

Non copy/paste public key based SSH authentication

I want to remove the process of manually copying the public keys to each one of the servers for granting access. The main problem that I'm trying to solve here is: There are multiple servers across ...
Pallav Jha's user avatar
3 votes
2 answers
6k views

SSH. Too many logins for Username. Why if i have logged only 2nd time and have tmux ssh in other servers tmux?

Logging just once in shh, after i lost wifi connection, that has 10 login limit i got Too many logins for 'username'. Last login: Thu May 6 17:06:43 2021 from 62.85.107.197 Connection to servername....
Kangarooo's user avatar
  • 5,085
1 vote
1 answer
1k views

ssh: broken pipe immediately after successful login

I have two servers that (at least at one point) were identical and working fine. Ubuntu 18.04 Server pl2poland is a backup server for pl3poland and hosts a replication PostgreSQL database. We use the ...
S. Nixon's user avatar
  • 421
3 votes
3 answers
2k views

How to set umask to u=rwx,g=rwx,o=rx for all ways of logging in without root privileges on 20.04.2?

I am working on an Ubuntu 20.04.2 box that I do not have root privileges on. I would like to set my umask to u=rwx,g=rx,o=rx (aka 022) no matter how I log in. I want to set it for GNOME sessions ...
Adam L. Taylor's user avatar
1 vote
1 answer
768 views

vsftpd - Can't login with a custom shell enabled

I set up vsftpd on my Ubuntu 20.04 server. Everything worked fine, I was even able to configure TLS. Now, I don't want the users to use SSH. I also disabled SFTP because of that. I don't want to ...
adazem009's user avatar
  • 1,112

1
2 3 4 5